quitened warning

This commit is contained in:
Ralf Becker 2010-08-01 12:47:26 +00:00
parent a1c9f68a1e
commit bb468774f7

View File

@ -1602,7 +1602,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;