diff --git a/api/src/Image.php b/api/src/Image.php index 13d0f55d1c..fb2c935b39 100644 --- a/api/src/Image.php +++ b/api/src/Image.php @@ -60,6 +60,10 @@ class Image //error_log(__METHOD__."('$app', ".array2string($image).", '$extension') NONE found!"); return null; } + if (!is_string($image)) + { + return null; + } $webserver_url = $GLOBALS['egw_info']['server']['webserver_url'];