Siad Ardroumli 12 лет назад
Родитель
Сommit
fd983eb2be
1 измененных файлов с 1 добавлено и 1 удалено
  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';