Merged -r27692 from trunk to branch 2.6:

fix preg_replace_callback from -r26972


git-svn-id: http://piwigo.org/svn/branches/2.6@27693 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2014-03-11 20:28:25 +00:00
parent e88ba8d5e9
commit 3ced01436b
+1 -1
View File
@@ -403,7 +403,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(
',',
', ',