[CACHE] Switch to 'empty' rather than 'is_null' is Cache::getHashMapKey, as it may return null or false
This commit is contained in:
		@@ -341,7 +341,7 @@ abstract class Cache
 | 
			
		||||
                }
 | 
			
		||||
            };
 | 
			
		||||
            $res = $get();
 | 
			
		||||
            if (\is_null($res)) {
 | 
			
		||||
            if (empty($res)) {
 | 
			
		||||
                self::setHashMap($map_key, $calculate_map(), $pool);
 | 
			
		||||
                $res = $get();
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user