From: Antoine Musso Date: Thu, 22 Apr 2004 07:01:46 +0000 (+0000) Subject: fixing $id notice X-Git-Tag: 1.3.0beta1~339 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=fc1505d33769aa5ddb0c1b9128d8d85a64760ec5;p=lhc%2Fweb%2Fwiklou.git fixing $id notice --- 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