More adjustment to sql filter strings

This commit is contained in:
Miles Lott 2001-03-26 13:08:59 +00:00
parent 8f06203fe7
commit df41f9fefe

View File

@ -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;