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: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?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