From 631b3d9f6eaf1d8a0cb9a7f7db0f43f9f34c39b2 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 10 Sep 2014 16:54:57 +0200 Subject: [PATCH] viewHelpers: There is no $this, not before 5.4 refs #7177 --- library/Icinga/Web/View/helpers/url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/View/helpers/url.php b/library/Icinga/Web/View/helpers/url.php index e3d23a359..0f252310b 100644 --- a/library/Icinga/Web/View/helpers/url.php +++ b/library/Icinga/Web/View/helpers/url.php @@ -103,7 +103,7 @@ $this->addHelperFunction('attributeToString', function ($key, $value) return sprintf( '%s="%s"', $key, - $this->escape($value) + $view->escape($value) ); });