Code

* Saved missing value for goImapSieveServer
[gosa.git] / plugins / admin / systems / class_terminalGeneric.inc
index 124f61bd17ece318ccd11bb176ebefac23568a52..86aa8966e1f5b0aee580440b29a899694c0d97c0 100644 (file)
@@ -76,6 +76,9 @@ class termgeneric extends plugin
 
   function execute()
   {
+       /* Call parent execute */
+       plugin::execute();
+
     /* Do we need to flip is_account state? */
     if (isset($_POST['modify_state'])){
       $this->is_account= !$this->is_account;
@@ -157,7 +160,10 @@ class termgeneric extends plugin
         $servername = $tmp3[0];
         $nfsname    = $tmp3[1];  
 
-        $path       = $tmp[4];  
+        $path ="";
+        if(isset($tmp[4])){
+          $path       = $tmp[4];  
+        }
 
         $tmp2[$servername.":".$path]= $servername.":".$path; 
       }else{