use error-image from api not old phpgwapi

This commit is contained in:
Ralf Becker 2018-05-20 13:21:11 +02:00
parent af3eadb419
commit 19feaed9f2

View File

@ -395,7 +395,7 @@ function hl_email_tag_transform($element, $attribute_array=0)
{
$attribute_array['alt']= $attribute_array['alt'].' [blocked (reason: url length):'.$attribute_array['src'].']';
if (!isset($attribute_array['title'])) $attribute_array['title']=$attribute_array['alt'];
$attribute_array['src']=Api\Image::find('phpgwapi','dialog_error');
$attribute_array['src']=Api\Image::find('api','error');
}
if (!preg_match('/^cid:.*/',$attribute_array['src']))
{