From 41ce3f003a43838f02fc98527a7b9408804b2c92 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 1 Feb 2019 20:56:21 +0300 Subject: [PATCH] Flextype Core: Entries - code fixes according Scrutinizer Tests. --- flextype/Entries.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flextype/Entries.php b/flextype/Entries.php index f3612570..d971fcb3 100755 --- a/flextype/Entries.php +++ b/flextype/Entries.php @@ -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 {