Silence an error if user is not a member of a group

This commit is contained in:
Miles Lott 2001-09-08 06:23:50 +00:00
parent f6d2f9738f
commit 4ace9f98b2

View File

@ -957,7 +957,7 @@
for ($i=0; $i<count($userGroups); $i++) for ($i=0; $i<count($userGroups); $i++)
{ {
/* print "Los1:".$userData["account_id"].$userGroups[$i]['account_id']." : ".$value['account_id']."<br>"; */ /* print "Los1:".$userData["account_id"].$userGroups[$i]['account_id']." : ".$value['account_id']."<br>"; */
if ($userGroups[$i]['account_id'] == $value['account_id']) if (@$userGroups[$i]['account_id'] == $value['account_id'])
{ {
$groups_select .= ' selected'; $groups_select .= ' selected';
} }