summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 7d23a4093..f95c7ebc4 100644
--- a/functions.php
+++ b/functions.php
@@ -1508,11 +1508,11 @@
print "<select name=\"$id\" id=\"$id\" $attributes>";
foreach ($values as $v) {
if ($v == $default)
- $sel = " selected";
+ $sel = "selected=\"1\"";
else
$sel = "";
- print "<option$sel>$v</option>";
+ print "<option value=\"$v\" $sel>$v</option>";
}
print "</select>";
}