mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
now works with new accounts class
This commit is contained in:
parent
b32d3748a5
commit
af7f61ecdc
@ -31,7 +31,7 @@
|
||||
else
|
||||
$bday = "$bday_month/$bday_day/$bday_year";
|
||||
|
||||
$access = $phpgw->groups->array_to_string($access,$n_groups);
|
||||
$access = $phpgw->accounts->array_to_string($access,$n_groups);
|
||||
|
||||
$sql = "insert into addressbook (owner,access,firstname,lastname,email,"
|
||||
. "hphone,wphone,fax,pager,mphone,ophone,street,city,state,zip,bday,"
|
||||
|
@ -253,7 +253,7 @@
|
||||
. ":</font></td><td colspan=\"3\"><select name=\"n_groups[]\" "
|
||||
. "multiple size=\"5\">";
|
||||
|
||||
$user_groups = $phpgw->groups->read_names($fields["owner"]);
|
||||
$user_groups = $phpgw->accounts->read_group_names($fields["owner"]);
|
||||
for ($i=0;$i<count($user_groups);$i++) {
|
||||
echo "<option value=\"" . $user_groups[$i][0] . "\"";
|
||||
if (ereg(",".$user_groups[$i][0].",",$access))
|
||||
|
Loading…
Reference in New Issue
Block a user