Commit 314bd6db authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2691 fixed gosaLoginRestriction handling

parent e0c369d6
......@@ -800,7 +800,8 @@ class user extends plugin
/* Sync lists */
$this->gosaLoginRestrictionWidget->save_object();
if ($this->gosaLoginRestrictionWidget->isModified()) {
$this->gosaLoginRestriction= array_values($this->gosaLoginRestrictionWidget->getMaintainedData());
$this->gosaLoginRestriction = array_values($this->gosaLoginRestrictionWidget->getMaintainedData());
$this->gosaLoginRestrictionWidget->setListData($this->gosaLoginRestrictionWidget->getMaintainedData());
}
/* Save government mode attributes */
......
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