From 8b89754e884d5d9b8907311ac121f26bc7809ef0 Mon Sep 17 00:00:00 2001 From: Colin Mollenhour Date: Wed, 13 May 2020 22:54:47 -0400 Subject: [PATCH] Fix error saving local cache in #918 --- 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 84143d39e5f..4b556337358 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] = $data; } 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] = $data; } return $temp;