From 81b77eb1d3bc3094cb4e80460dd1c0b83ad15e0a Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 1 Feb 2010 13:44:32 +0000 Subject: [PATCH] Fixed login restriction handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15544 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.30.2