From: hickert Date: Mon, 1 Feb 2010 13:44:32 +0000 (+0000) Subject: Fixed login restriction handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=81b77eb1d3bc3094cb4e80460dd1c0b83ad15e0a;p=gosa.git Fixed login restriction handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15544 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index 4eeadb7a5..aea903b5a 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -762,7 +762,7 @@ class user extends plugin /* Sync lists */ $this->gosaLoginRestrictionWidget->save_object(); if ($this->gosaLoginRestrictionWidget->isModified()) { - $this->gosaLoginRestriction= $this->gosaLoginRestrictionWidget->getMaintainedData(); + $this->gosaLoginRestriction= array_values($this->gosaLoginRestrictionWidget->getMaintainedData()); } /* Save government mode attributes */