aboutsummaryrefslogtreecommitdiffstats
path: root/admin/history.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-03-11 20:27:26 +0000
committerrvelices <rv-github@modusoptimus.com>2014-03-11 20:27:26 +0000
commit0aac622d67383beab4b35c4c38face7c5a32dec9 (patch)
tree07149e4aa67653c537358277167d90eff60b3edc /admin/history.php
parentbb31b8b6a15bfe75c167bd34f79affc76dc4fdfa (diff)
fix preg_replace_callback from -r26972
git-svn-id: http://piwigo.org/svn/trunk@27692 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/history.php')
-rw-r--r--admin/history.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/history.php b/admin/history.php
index 7e9fe6d81..aaf0159c5 100644
--- a/admin/history.php
+++ b/admin/history.php
@@ -381,7 +381,7 @@ SELECT
{
$tags_string = preg_replace_callback(
'/(\d+)/',
- create_function('$m', 'return isset($name_of_tag[$m[1]]) ? $name_of_tag[$m[1]] : $m[1];'),
+ create_function('$m', 'global $name_of_tag; return isset($name_of_tag[$m[1]]) ? $name_of_tag[$m[1]] : $m[1];'),
str_replace(
',',
', ',