summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-07-05 23:32:08 +0000
committerivan <ivan>2002-07-05 23:32:08 +0000
commit262928f0a043f1fd35bdf0df9a2fb1b1658c1dce (patch)
tree7b7974a2d1e85ea9f0eeb7b567180b72fa589593
parent6d02e527490b2f0cf080f7b519443caeecd76357 (diff)
fix bug with config having a value not in the select
-rw-r--r--httemplate/config/config.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi
index c050a19ab..fd9a82958 100644
--- a/httemplate/config/config.cgi
+++ b/httemplate/config/config.cgi
@@ -70,7 +70,7 @@ function SafeOnsubmit() {
<option value="<%= $value %>"<%= $value eq $conf->config($i->key) || ( $type eq 'selectmultiple' && grep { $_ eq $value } $conf->config($i->key) ) ? ' SELECTED' : '' %>><%= $value %>
<% } %>
<% if ( $conf->exists($i->key) && $conf->config($i->key) && ! grep { $conf->config($i->key) eq $_ } @{$i->select_enum}) { %>
- <option value=<%= $conf->config($i->key) %> SELECTED><%= conf->config($i->key) %>
+ <option value=<%= $conf->config($i->key) %> SELECTED><%= $conf->config($i->key) %>
<% } %>
</select>
<% } elsif ( $type eq 'editlist' ) { %>