From b783b0c44c3f0eb1dc138eda4d37bad51ee6748c Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 11 Apr 2016 10:41:22 +0200 Subject: [PATCH] monitoring: Use icon view helper instead for icon images fixes #11299 --- modules/monitoring/application/views/helpers/IconImage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/application/views/helpers/IconImage.php b/modules/monitoring/application/views/helpers/IconImage.php index 3fee8e3a7..8ae72d83e 100644 --- a/modules/monitoring/application/views/helpers/IconImage.php +++ b/modules/monitoring/application/views/helpers/IconImage.php @@ -27,7 +27,7 @@ class Zend_View_Helper_IconImage extends Zend_View_Helper_Abstract public function host($object) { if ($object->host_icon_image && ! preg_match('/[\'"]/', $object->host_icon_image)) { - return $this->view->img( + return $this->view->icon( Macro::resolveMacros($object->host_icon_image, $object), null, array( @@ -50,7 +50,7 @@ class Zend_View_Helper_IconImage extends Zend_View_Helper_Abstract public function service($object) { if ($object->service_icon_image && ! preg_match('/[\'"]/', $object->service_icon_image)) { - return $this->view->img( + return $this->view->icon( Macro::resolveMacros($object->service_icon_image, $object), null, array(