forked from extern/egroupware
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