Code

Updated index generation to have an optional parameter
[gosa.git] / gosa-core / include / class_userinfo.inc
index 01315479d61e08eafce76df79a733e5cc2550c18..a32f07da647664216c4cd799b4ebecd6208cbefe 100644 (file)
@@ -59,8 +59,8 @@ class userinfo
     }
 
     /* Restrictions? */
-    if (isset($attrs['gosaLoginRestrictions'])){
-      $this->restrictions= $attrs['gosaLoginRestrictions'];
+    if (isset($attrs['gosaLoginRestriction'])){
+      $this->restrictions= $attrs['gosaLoginRestriction'];
       unset($this->restrictions['count']);
     }