mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-05 04:29:09 -04:00
Database::escape_str() is now Database::escape().
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
class search_Core {
|
||||
static function search($q, $limit, $offset) {
|
||||
$db = Database::instance();
|
||||
$q = $db->escape_str($q);
|
||||
$q = $db->escape($q);
|
||||
|
||||
if (!identity::active_user()->admin) {
|
||||
foreach (identity::group_ids_for_active_user() as $id) {
|
||||
|
||||
Reference in New Issue
Block a user