mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
+1
-1
@@ -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(
|
||||
',',
|
||||
', ',
|
||||
|
||||
Reference in New Issue
Block a user