From d74b80bbb7401874ea73f93bf557dc80153fbdb6 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 24 Sep 2014 10:56:08 +0000 Subject: bug 3145: generate the pwg_token at the right time, not at prefilter time git-svn-id: http://piwigo.org/svn/trunk@29770 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/TakeATour/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/TakeATour/main.inc.php b/plugins/TakeATour/main.inc.php index 54fabd1c4..406e93780 100644 --- a/plugins/TakeATour/main.inc.php +++ b/plugins/TakeATour/main.inc.php @@ -104,7 +104,7 @@ function TAT_no_photo_yet() function TAT_no_photo_yet_prefilter($content, &$smarty) { $search = '
{\'I want to add photos\'|@translate}
'; - $replacement = '
{\'Start the Tour\'|@translate}
'; + $replacement = '
{\'Start the Tour\'|@translate}
'; return(str_replace($search, $replacement, $content)); } -- cgit v1.2.3