Upgrade global bug.

git-svn-id: https://develop.svn.wordpress.org/trunk@700 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-01-03 03:19:56 +00:00
parent 76c11172ad
commit bd7c0ac69b
2 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ BOOLSELECT;
case 5: // select
$ret = <<<SELECT
<label for="$option_result->option_name">$option_result->option_name</label>$between
<select name="$option_result->option_name" $disabled>
<select name="$option_result->option_name" id="$option_result->option_name" $disabled>
SELECT;
$select = $wpdb->get_results("SELECT optionvalue, optionvalue_desc "
@@ -72,13 +72,13 @@ SELECT;
}
// now we may need to do table name substitution
eval("include('../wp-config.php');\$sql = \"$sql\";");
eval("include('../wp-config.php');\$sql = \"$sql\";");
$ret = <<<SELECT
<label for="$option_result->option_name">$option_result->option_name</label>$between
<select name="$option_result->option_name" $disabled>
SELECT;
$select = $wpdb->get_results("$sql");
if ($select) {
foreach($select as $option) {