From fc1505d33769aa5ddb0c1b9128d8d85a64760ec5 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Thu, 22 Apr 2004 07:01:46 +0000 Subject: [PATCH] fixing $id notice --- config/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/index.php b/config/index.php index fbc3cba981..24ce16aee8 100644 --- a/config/index.php +++ b/config/index.php @@ -787,7 +787,7 @@ function aField( &$conf, $field, $text, $type = "", $value = "" ) { $xtype = ""; } - if( $id == "" ) $id = $field; + if(!(isset($id)) or ($id == "") ) $id = $field; $nolabel = ($type == "radio") || ($type == "hidden"); if( $nolabel ) { echo "\t\t