handling preset cache (, was/is reporting an unfound entry of the cache array as 0 in some cases)

This commit is contained in:
Philip Herbert 2011-12-20 09:16:23 +00:00
parent 004c4ec06b
commit 657f50c5bb

View File

@ -894,7 +894,7 @@ class common
$image_found =& $cache[$appname.implode('-',(array)$image).$ext.$use_lang];
if (!isset($image_found))
if (!isset($image_found) || $image_found === 0) // cache of an not set entry may be reported as 0
{
if (!is_array($image))
{