mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Fix if no grants are set - this is because of changes for cat_id
This commit is contained in:
parent
1433916943
commit
e9bcd7a91b
@ -374,7 +374,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$fwhere .= ' AND ';
|
||||
$fwhere .= ') ';
|
||||
}
|
||||
|
||||
|
||||
@ -431,11 +431,11 @@
|
||||
. "org_name LIKE '%$query%' OR org_unit LIKE '%$query%') " . $fand . $filtermethod . $ordermethod . " "
|
||||
. $limit,__LINE__,__FILE__);
|
||||
} else {
|
||||
$this->db3->query("SELECT id,lid,tid,owner,access $t_fields FROM $this->std_table " . $fwhere
|
||||
$this->db3->query("SELECT id,lid,tid,owner,access,cat_id $t_fields FROM $this->std_table " . $fwhere
|
||||
. $filtermethod,__LINE__,__FILE__);
|
||||
$this->total_records = $this->db3->num_rows();
|
||||
|
||||
$this->db->query("SELECT id,lid,tid,owner,access $t_fields FROM $this->std_table " . $fwhere
|
||||
$this->db->query("SELECT id,lid,tid,owner,access,cat_id $t_fields FROM $this->std_table " . $fwhere
|
||||
. $filtermethod . " " . $ordermethod . " " . $limit,__LINE__,__FILE__);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user