summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-09 13:14:59 +0300
committerAndrew Dolgov <[email protected]>2010-11-09 13:15:26 +0300
commit10249c41b763a373926d9b1f78b7b8cef68e411b (patch)
treef969dd9850b6c6ad9db3896d81d06ad7824dd6ad /functions.php
parent3acc0da647b27a78d65c01ca98e6201d14b021c6 (diff)
properly handle on-the-fly adding of labels
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 c17d9d64e..f9de0622f 100644
--- a/functions.php
+++ b/functions.php
@@ -3020,7 +3020,7 @@
while ($line = db_fetch_assoc($result)) {
if ($line["id"] == $default_id) {
- $is_selected = "selected";
+ $is_selected = "selected=\"1\"";
} else {
$is_selected = "";
}
@@ -3052,7 +3052,7 @@
while ($line = db_fetch_assoc($result)) {
if ($line["id"] == $default_id) {
- $is_selected = "selected";
+ $is_selected = "selected=\"1\"";
} else {
$is_selected = "";
}