mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +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
dc3e6c12c2
commit
89ab122d3a
@ -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