Code

Fixed login restriction handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 13:44:32 +0000 (13:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 13:44:32 +0000 (13:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15544 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/class_user.inc

index 4eeadb7a572e744874967397536b43ab2adc3837..aea903b5a8660ef12a6940d1c19e87a3f1a60582 100644 (file)
@@ -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 */