Explorar o código

Update Json.php

Siad Ardroumli %!s(int64=12) %!d(string=hai) anos
pai
achega
fd983eb2be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      library/Zend/Json.php

+ 1 - 1
library/Zend/Json.php

@@ -77,7 +77,7 @@ class Zend_Json
 
             // php < 5.3
             if (!function_exists('json_last_error')) {
-                if ($encodedValue === 'null') {
+                if (strtolower($encodedValue) === 'null') {
                     return null;
                 } elseif ($decode === null) {
                     require_once 'Zend/Json/Exception.php';