Backport 31413 - Avoid conflicts with other objects that have ->db defined by using the global db

This commit is contained in:
Nathan Gray 2010-07-13 14:25:42 +00:00
parent 646a0a4ca4
commit b82cdbcdd7

View File

@ -1094,7 +1094,7 @@ class so_sql
} }
if($columns) if($columns)
{ {
$columns = call_user_func_array(array($this->db,'concat'),$columns); $columns = call_user_func_array(array($GLOBALS['egw']->db,'concat'),$columns);
} }
// Break the search string into tokens // Break the search string into tokens