Skip to content

Commit

Permalink
Store unserialized data in local cache of Zend_Data
Browse files Browse the repository at this point in the history
  • Loading branch information
tmotyl committed May 14, 2020
1 parent 8b89754 commit 4aba763
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 4aba763

Please sign in to comment.