summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/message.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-06-14 07:44:17 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-06-14 07:44:17 -0700
commit1c5264d7f5a2914f3ae0cb1208b2bc2810b090ec (patch)
tree4b6751a0daf69ac9a55fb2c1bb05a60fbc8d6b3e /modules/gallery/helpers/message.php
parent821d3f7854d76922b53df7e523eeaa8d4dca8c7b (diff)
parent793780daa7665f7f86994235c4263fcb63554eb8 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers/message.php')
-rw-r--r--modules/gallery/helpers/message.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/message.php b/modules/gallery/helpers/message.php
index 047eb2c7..1f69e2a9 100644
--- a/modules/gallery/helpers/message.php
+++ b/modules/gallery/helpers/message.php
@@ -78,6 +78,7 @@ class message_Core {
$messages = Session::instance()->get_once("messages", array());
foreach ($messages as $msg) {
+ $msg[0] = str_replace("__CSRF__", access::csrf_token(), $msg[0]);
$buf[] = "<li class=\"" . self::severity_class($msg[1]) . "\">$msg[0]</li>";
}
if ($buf) {