Skip to content

Commit

Permalink
Store unserialized data in local cache of Zend_Data (#979)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmotyl authored May 15, 2020
1 parent c64d4fc commit ef058f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Zend/Locale/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ef058f5

Please sign in to comment.