From f4efd42e842c808944010dfe69fee8504ce16dde Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 3 Apr 2008 13:37:10 +0000 Subject: [PATCH] Fixed "remove" variables problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10150 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiVariable.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiVariable.inc b/gosa-plugins/fai/admin/fai/class_faiVariable.inc index 1c819c096..a3ca17002 100644 --- a/gosa-plugins/fai/admin/fai/class_faiVariable.inc +++ b/gosa-plugins/fai/admin/fai/class_faiVariable.inc @@ -214,7 +214,7 @@ class faiVariable extends plugin $tmp = array(); foreach($this->SubObjects as $key => $obj){ $acl = $ui->get_permissions($obj['dn'],"fai/faiVariableEntry"); - if(preg_match("/r/",$acl) || $obj['dn'] == "new"){ + if((preg_match("/r/",$acl) || $obj['dn'] == "new") && isset($ret[$key])){ $tmp[$key] = $ret[$key]; } } -- 2.30.2