mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fix create_function replacement
This commit is contained in:
+1
-1
@@ -181,7 +181,7 @@ if (!empty($_GET['keyword']))
|
|||||||
'('.
|
'('.
|
||||||
implode(' AND ',
|
implode(' AND ',
|
||||||
array_map(
|
array_map(
|
||||||
function($s) {return "content LIKE \'%$s%\'"; } ,
|
function($s) {return "content LIKE '%$s%'"; } ,
|
||||||
preg_split('/[\s,;]+/', $_GET['keyword'] )
|
preg_split('/[\s,;]+/', $_GET['keyword'] )
|
||||||
)
|
)
|
||||||
).
|
).
|
||||||
|
|||||||
Reference in New Issue
Block a user