From: <jhe...@us...> - 2002-11-12 17:56:20
|
Update of /cvsroot/upcase-project/UpCase/admin In directory usw-pr-cvs1:/tmp/cvs-serv20228 Modified Files: useredit.php Log Message: corrected bug with secondary groups display Index: useredit.php =================================================================== RCS file: /cvsroot/upcase-project/UpCase/admin/useredit.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** useredit.php 8 Aug 2002 13:47:48 -0000 1.2 --- useredit.php 12 Nov 2002 17:56:17 -0000 1.3 *************** *** 33,36 **** --- 33,39 ---- if (isset($secondarygroups)) $user->setSecondaryGroups($secondarygroups); + else + $user->setSecondaryGroups(array()); + if (strlen($password) > 0) $user->setPassword($password); *************** *** 54,58 **** $tmpl->MxText("email", $user->email); - $tmpl->MxAttribut("userupdate", "userupdate.php"); $tmpl->MxWrite(); --- 57,60 ---- |