From e748ea3c178e4e9856330cbfb17f6a9cb4dba3a6 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 1 Mar 2006 08:54:27 +0000 Subject: [PATCH] Fixed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2791 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_termDNS.inc | 6 ++++-- plugins/admin/systems/network.tpl | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) 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}

+
-- 2.30.2