diff --git a/etemplate/inc/class.so_sql.inc.php b/etemplate/inc/class.so_sql.inc.php index 7225ea26f9..471dce91ab 100644 --- a/etemplate/inc/class.so_sql.inc.php +++ b/etemplate/inc/class.so_sql.inc.php @@ -1094,7 +1094,7 @@ class so_sql } 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