From: hickert Date: Wed, 1 Mar 2006 08:54:27 +0000 (+0000) Subject: Fixed undefined index X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e748ea3c178e4e9856330cbfb17f6a9cb4dba3a6;p=gosa.git Fixed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2791 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index f0c8d3295..7f35024a6 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -152,7 +152,9 @@ class termDNS extends plugin /* Call parent execute */ $smarty= get_smarty(); $display= ""; - + + $smarty->assign("staticAddress", ""); + /* There is no dns available */ if($this->found == false){ @@ -164,7 +166,7 @@ class termDNS extends plugin foreach($this->attributes as $attr){ $smarty->assign($attr,$this->$attr); } - + $smarty->assign("staticAddress", ""); $display.= $smarty->fetch(get_template_path('network.tpl', TRUE)); return($display); }else{ diff --git a/plugins/admin/systems/network.tpl b/plugins/admin/systems/network.tpl index dcb51b17f..832935d8a 100644 --- a/plugins/admin/systems/network.tpl +++ b/plugins/admin/systems/network.tpl @@ -1,5 +1,6 @@

{t}Network settings{/t}

+