mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
More adjustment to sql filter strings
This commit is contained in:
parent
8f06203fe7
commit
df41f9fefe
@ -368,7 +368,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
$fwhere .= $filtermethod . " AND (owner=" . $phpgw_info['user']['account_id'];
|
||||
if (!$filtermethod) {
|
||||
$fwhere .= " WHERE (owner=" . $phpgw_info['user']['account_id'];
|
||||
} else {
|
||||
$fwhere .= $filtermethod . " AND (owner=" . $phpgw_info['user']['account_id'];
|
||||
}
|
||||
|
||||
if (is_array($this->grants))
|
||||
{
|
||||
$grants = $this->grants;
|
||||
|
Loading…
Reference in New Issue
Block a user