Code

Updated edit windows, 100% width ; size = 12
[gosa.git] / plugins / admin / systems / class_winGeneric.inc
index b1b2f42148949dc1a2618a20d70a2fcd4cdb3324..82b847a796a17f1617bb9746cd58972f05f543f4 100644 (file)
@@ -64,6 +64,9 @@ class wingeneric extends plugin
 
   function execute()
   {
+       /* Call parent execute */
+       plugin::execute();
+
     /* Do we represent a valid phone? */
     if (!$this->is_account && $this->parent == NULL){
       $display= "<img alt=\"\" src=\"images/stop.png\" align=middle>&nbsp;<b>".
@@ -73,6 +76,11 @@ class wingeneric extends plugin
 
     /* Fill templating stuff */
     $smarty= get_smarty();
+
+    // Undefined index in wingeneric.tpl ... 
+    $smarty->assign("macAddress","");
+    $smarty->assign("ipHostNumber","");
+
     $smarty->assign("bases", $this->config->idepartments);
 
     /* Assign attributes */