mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Avoid deprecated message caused by calling non-static method statically. Fixed by creating an instance to use.
This commit is contained in:
parent
77c2b3d9af
commit
a82f7baf2c
@ -828,7 +828,8 @@ class infolog_so
|
||||
if ($this->db->capabilities['like_on_text']) $columns[] = 'info_des';
|
||||
|
||||
$wildcard = $op = null;
|
||||
$search = so_sql::search2criteria($query['search'], $wildcard, $op, null, $columns);
|
||||
$so_sql = new so_sql('infolog', $this->info_table, $this->db);
|
||||
$search = $so_sql->search2criteria($query['search'], $wildcard, $op, null, $columns);
|
||||
$sql_query = 'AND ('.(is_numeric($query['search']) ? 'main.info_id='.(int)$query['search'].' OR ' : '').
|
||||
implode($op, $search) .')';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user