From: Karen Etheridge Date: Sun, 16 Nov 2014 20:13:59 +0000 (-0800) Subject: buh, s/PP/XS/ X-Git-Tag: v1.003002~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4879506d3113bbc4140c5899e27bf5287efd3e43;hp=5e25533ac838bfccf9d3e8bf91f66eabd44745ef;p=p5sagit%2FJSON-MaybeXS.git buh, s/PP/XS/ --- diff --git a/Changes b/Changes index 29c20ce..881b83e 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for JSON-MaybeXS + - correctly fix boolean interoperability with older Cpanel::JSON::MaybeXS + 1.003001 - 2014-11-13 - fix boolean interoperability with older Cpanel::JSON::MaybeXS diff --git a/lib/JSON/MaybeXS.pm b/lib/JSON/MaybeXS.pm index 326d029..37920c2 100644 --- a/lib/JSON/MaybeXS.pm +++ b/lib/JSON/MaybeXS.pm @@ -55,7 +55,7 @@ sub is_bool { Scalar::Util::blessed($_[0]) and ($_[0]->isa('JSON::XS::Boolean') - or $_[0]->isa('Cpanel::JSON::PP::Boolean') + or $_[0]->isa('Cpanel::JSON::XS::Boolean') or $_[0]->isa('JSON::PP::Boolean')); }