mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02: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
|
$path = $name; // name may already contain absolut path
|
||||||
}
|
}
|
||||||
|
if (!@is_readable($GLOBALS['DOCUMENT_ROOT'] . $path))
|
||||||
|
{
|
||||||
|
return $title;
|
||||||
|
}
|
||||||
if ($title)
|
if ($title)
|
||||||
{
|
{
|
||||||
$options .= " $this->prefered_img_title=\"$title\"";
|
$options .= " $this->prefered_img_title=\"$title\"";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user