forked from extern/egroupware
"fix for bug #747: Postgres SQL error searching tracker items"
This commit is contained in:
parent
c7bf33ab2c
commit
94dced8024
@ -680,7 +680,7 @@ class so_sql
|
||||
}
|
||||
elseif (!$need_full_no_count && (!$join || stripos($join,'LEFT JOIN')!==false))
|
||||
{
|
||||
$this->db->select($this->table_name,'COUNT(*)',$query,__LINE__,__FILE__);
|
||||
$this->db->select($this->table_name,'COUNT(*)',$query,__LINE__,__FILE__,false,'',false,0,$join);
|
||||
$this->total = $this->db->next_record() ? (int) $this->db->f(0) : false;
|
||||
}
|
||||
else // cant do a count, have to run the query without limit
|
||||
|
Loading…
Reference in New Issue
Block a user