From c1926ae54e2ab32a46417c3d5f393395f0ce0d63 Mon Sep 17 00:00:00 2001 From: Shreesh Arora Date: Fri, 28 Jun 2024 19:12:59 +0530 Subject: [PATCH] Removed: Uncompatible null coalescing operator used in cache --- classes/cache/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/cache/Cache.php b/classes/cache/Cache.php index d13b97791..96b0fed3f 100644 --- a/classes/cache/Cache.php +++ b/classes/cache/Cache.php @@ -502,7 +502,7 @@ abstract class CacheCore $this->_deleteMulti($invalidKeys); if ($keyToKeep) { - $this->sql_tables_cached[$table][$keyToKeep] = $toKeep ?? null; + $this->sql_tables_cached[$table][$keyToKeep] = isset($toKeep) ? $toKeep : null; } } $this->adjustTableCacheSize = false;