Code

Fixed error, when creating terminal template
[gosa.git] / plugins / admin / systems / class_winGeneric.inc
index b1b2f42148949dc1a2618a20d70a2fcd4cdb3324..2294fb02a035ce0b66542c32d5337b943b2295fc 100644 (file)
@@ -73,6 +73,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 */