Skip to content

Commit

Permalink
Fix error saving local cache in #918
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmollenhour authored May 14, 2020
1 parent c41043d commit 8b89754
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] = $data;
}

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] = $data;
}

return $temp;
Expand Down

0 comments on commit 8b89754

Please sign in to comment.