* [refac] if cache doesn't exist skip it.

This commit is contained in:
liugang
2024-12-09 09:21:27 +08:00
committed by 刘刚
parent 5869765709
commit f220bccb8f
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -614,7 +614,7 @@ class cache
if($object) return $object;
$objects = $this->initTableCache();
return isset($objects[$id]) ? $objects[$id] : false;
return isset($objects[$id]) ? $objects[$id] : null;
}
/**