Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2013-11-12 04:08:05 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-11-12 04:08:05 +0400
commit43a8566256a3209d0f2cab6b608c365d7c80c21f (patch)
treed5a8eafeaeff0f40b240474d37bd3f663c2c554b /plugins/ExampleUI
parent6abcb0db75324ff39f6557a1bcfcf90bc1a03d69 (diff)
refs #4256 disabling escaping is much better this way
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r--plugins/ExampleUI/Controller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ExampleUI/Controller.php b/plugins/ExampleUI/Controller.php
index ab64b2bdda..3ed5bb4e9c 100644
--- a/plugins/ExampleUI/Controller.php
+++ b/plugins/ExampleUI/Controller.php
@@ -71,7 +71,8 @@ class Controller extends \Piwik\Plugin\Controller
$notification->type = Notification::TYPE_TOAST;
Notification\Manager::notify('ExampleUI_successToast', $notification);
- $notification = new Notification('Phasellus tincidunt arcu at justo <a href="#">faucibus</a>, et lacinia est accumsan. ', true);
+ $notification = new Notification('Phasellus tincidunt arcu at justo <a href="#">faucibus</a>, et lacinia est accumsan. ');
+ $notification->raw = true;
$notification->context = Notification::CONTEXT_ERROR;
Notification\Manager::notify('ExampleUI_error', $notification);