1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 23:54:06 +02:00

Flextype Core: Entries - code fixes according Scrutinizer Tests.

This commit is contained in:
Awilum
2019-02-01 20:56:21 +03:00
parent 4db6d392ee
commit 41ce3f003a

View File

@@ -170,8 +170,8 @@ class Entries
// Try to get the entry from cache
if (Cache::contains($entry_cache_id)) {
if ($entry = Cache::fetch($entry_cache_id)) {
$etnry = $entry;
if ($_entry = Cache::fetch($entry_cache_id)) {
$entry = $_entry;
}
} else {