mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-13 21:31:35 +02:00
fix preg_replace_callback from -r26972
git-svn-id: http://piwigo.org/svn/trunk@27692 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -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(
|
||||
',',
|
||||
', ',
|
||||
|
||||
Reference in New Issue
Block a user