Commit 87fb2818 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2863 some problems in DialogAttributes

Showing with 4 additions and 4 deletions
+4 -4
...@@ -118,9 +118,9 @@ class UserGroupSelectDialog extends GenericSelectDialog ...@@ -118,9 +118,9 @@ class UserGroupSelectDialog extends GenericSelectDialog
function handle_finish () function handle_finish ()
{ {
$users = $this->userGroupSelect->save(); $users = $this->dialog->save();
foreach ($users as $user) { foreach ($users as $user) {
$this->dialogAttribute->addValue($user['dn'], $user); $this->attribute->addValue($user['dn'], $user);
} }
return FALSE; return FALSE;
} }
...@@ -141,9 +141,9 @@ class MailSelectDialog extends GenericSelectDialog ...@@ -141,9 +141,9 @@ class MailSelectDialog extends GenericSelectDialog
function handle_finish () function handle_finish ()
{ {
$list = $this->mailSelect->save(); $list = $this->dialog->save();
foreach ($list as $entry) { foreach ($list as $entry) {
$this->mailsAttribute->addValue($entry['dn'], $entry); $this->attribute->addValue($entry['dn'], $entry);
} }
return FALSE; return FALSE;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment