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