Merge pull request #1152 from shreesh-webkul/gli-2204

Removed: Incompatible null coalescing operator used in cache
This commit is contained in:
Rohit Jain
2024-07-11 19:56:37 +05:30
committed by GitHub

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;