mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 15:38:27 +01:00
quitened warning
This commit is contained in:
parent
91be5c0f11
commit
eb71b62770
@ -1592,7 +1592,7 @@ class etemplate extends boetemplate
|
|||||||
break;
|
break;
|
||||||
case 'image': // size: [link],[link_target],[imagemap],[link_popup],[id]
|
case 'image': // size: [link],[link_target],[imagemap],[link_popup],[id]
|
||||||
$image = $value != '' ? $value : $name;
|
$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)
|
if (!$app || !$img || !is_dir(EGW_SERVER_ROOT.'/'.$app) || strpos($img,'/')!==false)
|
||||||
{
|
{
|
||||||
$img = $image;
|
$img = $image;
|
||||||
|
Loading…
Reference in New Issue
Block a user