From 4aba7634253fa67c42a16392ade166857823365d Mon Sep 17 00:00:00 2001 From: Tymoteusz Motylewski Date: Thu, 14 May 2020 16:54:04 +0200 Subject: [PATCH] Store unserialized data in local cache of Zend_Data --- lib/Zend/Locale/Data.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Zend/Locale/Data.php b/lib/Zend/Locale/Data.php index 4b556337358..a3686da3b0c 100644 --- a/lib/Zend/Locale/Data.php +++ b/lib/Zend/Locale/Data.php @@ -966,7 +966,7 @@ public static function getList($locale, $path, $value = false) } else { self::$_cache->save( $data, $id); } - static::$_localCache[$id] = $data; + static::$_localCache[$id] = $temp; } return $temp; @@ -1523,7 +1523,7 @@ public static function getContent($locale, $path, $value = false) } else { self::$_cache->save( $data, $id); } - static::$_localCache[$id] = $data; + static::$_localCache[$id] = $temp; } return $temp;