fixing $id notice
authorAntoine Musso <hashar@users.mediawiki.org>
Thu, 22 Apr 2004 07:01:46 +0000 (07:01 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Thu, 22 Apr 2004 07:01:46 +0000 (07:01 +0000)
config/index.php

index fbc3cba..24ce16a 100644 (file)
@@ -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<label>";