From 1b1d33229d639aac9494141b71035b41a6dd2ede Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Tue, 9 Feb 2021 15:18:40 +0100 Subject: [PATCH] Update MD_STD_CACHE to reload error pages --- MD_STD_CACHE.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MD_STD_CACHE.php b/MD_STD_CACHE.php index 99049ac..ca4c241 100644 --- a/MD_STD_CACHE.php +++ b/MD_STD_CACHE.php @@ -60,7 +60,7 @@ final class MD_STD_CACHE { if (($redisResult = $redis->get($redisKey))) { - if (strlen($redisResult) > 3) { + if (strlen($redisResult) > 3 and strpos($redisResult, ' id="errorPage"') === false) { $redis->close(); return $redisResult; }