Code

Also display new created variables
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 May 2007 08:47:13 +0000 (08:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 May 2007 08:47:13 +0000 (08:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6391 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiVariable.inc

index 18d4c0368c634d6517081e70b9ff0e67d3be119c..fa81784ca939f47f4a092eb89600a363000befab 100644 (file)
@@ -213,7 +213,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)){
+      if(preg_match("/r/",$acl) || $obj['dn'] == "new"){
         $tmp[$key] = $ret[$key];
       } 
     }