diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-11-12 04:06:09 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-11-12 04:06:09 +0400 |
commit | 6abcb0db75324ff39f6557a1bcfcf90bc1a03d69 (patch) | |
tree | f50d9bad9150e92c6847835caf724f0cc51a6567 /plugins/ExampleUI | |
parent | 84bc3eb3bba66823fe679db023b8b03cba9f0d10 (diff) |
refs #4256 by default escape notification message
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r-- | plugins/ExampleUI/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExampleUI/Controller.php b/plugins/ExampleUI/Controller.php index 0480ae83cf..ab64b2bdda 100644 --- a/plugins/ExampleUI/Controller.php +++ b/plugins/ExampleUI/Controller.php @@ -71,7 +71,7 @@ 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. '); + $notification = new Notification('Phasellus tincidunt arcu at justo <a href="#">faucibus</a>, et lacinia est accumsan. ', true); $notification->context = Notification::CONTEXT_ERROR; Notification\Manager::notify('ExampleUI_error', $notification); |