mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-26 15:11:45 +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
|
else
|
||||||
{
|
{
|
||||||
$fwhere .= ' AND ';
|
$fwhere .= ') ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -431,11 +431,11 @@
|
|||||||
. "org_name LIKE '%$query%' OR org_unit LIKE '%$query%') " . $fand . $filtermethod . $ordermethod . " "
|
. "org_name LIKE '%$query%' OR org_unit LIKE '%$query%') " . $fand . $filtermethod . $ordermethod . " "
|
||||||
. $limit,__LINE__,__FILE__);
|
. $limit,__LINE__,__FILE__);
|
||||||
} else {
|
} 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__);
|
. $filtermethod,__LINE__,__FILE__);
|
||||||
$this->total_records = $this->db3->num_rows();
|
$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__);
|
. $filtermethod . " " . $ordermethod . " " . $limit,__LINE__,__FILE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user