mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
parent
3b601decc5
commit
eb5c48ade9
@ -28,7 +28,7 @@ class Zend_View_Helper_IconImage extends Zend_View_Helper_Abstract
|
|||||||
{
|
{
|
||||||
if ($object->host_icon_image && ! preg_match('/[\'"]/', $object->host_icon_image)) {
|
if ($object->host_icon_image && ! preg_match('/[\'"]/', $object->host_icon_image)) {
|
||||||
return $this->view->img(
|
return $this->view->img(
|
||||||
'img/icons/' . Macro::resolveMacro($object->host_icon_image, $object),
|
'img/icons/' . Macro::resolveMacros($object->host_icon_image, $object),
|
||||||
null,
|
null,
|
||||||
array(
|
array(
|
||||||
'alt' => $object->host_icon_image_alt,
|
'alt' => $object->host_icon_image_alt,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user