quitened warning

This commit is contained in:
Ralf Becker 2010-08-01 12:48:25 +00:00
parent 91be5c0f11
commit eb71b62770

View File

@ -1592,7 +1592,7 @@ class etemplate extends boetemplate
break;
case 'image': // size: [link],[link_target],[imagemap],[link_popup],[id]
$image = $value != '' ? $value : $name;
list($app,$img) = explode('/',$image,2);
if (!is_array($image)) list($app,$img) = explode('/',$image,2);
if (!$app || !$img || !is_dir(EGW_SERVER_ROOT.'/'.$app) || strpos($img,'/')!==false)
{
$img = $image;