mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
handling preset cache (, was/is reporting an unfound entry of the cache array as 0 in some cases)
This commit is contained in:
parent
004c4ec06b
commit
657f50c5bb
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user