Removed: Uncompatible null coalescing operator used in cache

This commit is contained in:
Shreesh Arora
2024-06-28 19:12:59 +05:30
parent eaeee5090f
commit c1926ae54e

View File

@@ -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;