buh, s/PP/XS/
Karen Etheridge [Sun, 16 Nov 2014 20:13:59 +0000 (12:13 -0800)]
Changes
lib/JSON/MaybeXS.pm

diff --git a/Changes b/Changes
index 29c20ce..881b83e 100644 (file)
--- 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
 
index 326d029..37920c2 100644 (file)
@@ -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'));
 }