show also private when "show all" is selected

This commit is contained in:
Miles Lott 2001-11-23 03:49:56 +00:00
parent a1ccab2cc0
commit c74d00b8ff

View File

@ -347,7 +347,8 @@
if (is_array($this->grants)) if (is_array($this->grants))
{ {
$filterfields += array('phpgwcontactaccess' => 'public'); /* this was not listing private entries when show all was selected */
/* $filterfields += array('phpgwcontactaccess' => 'public'); */
$grants = $this->grants; $grants = $this->grants;
while (list($user) = each($grants)) while (list($user) = each($grants))
{ {