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:06:09 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-11-12 04:06:09 +0400
commit6abcb0db75324ff39f6557a1bcfcf90bc1a03d69 (patch)
treef50d9bad9150e92c6847835caf724f0cc51a6567 /plugins/ExampleUI
parent84bc3eb3bba66823fe679db023b8b03cba9f0d10 (diff)
refs #4256 by default escape notification message
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r--plugins/ExampleUI/Controller.php2
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);