mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
image shows title if image is not found
This commit is contained in:
parent
56acf9ae94
commit
f994c57a1f
@ -264,6 +264,10 @@ class html
|
||||
{
|
||||
$path = $name; // name may already contain absolut path
|
||||
}
|
||||
if (!@is_readable($GLOBALS['DOCUMENT_ROOT'] . $path))
|
||||
{
|
||||
return $title;
|
||||
}
|
||||
if ($title)
|
||||
{
|
||||
$options .= " $this->prefered_img_title=\"$title\"";
|
||||
|
Loading…
Reference in New Issue
Block a user