summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/config/config-process.cgi2
-rw-r--r--httemplate/config/config-view.cgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/config/config-process.cgi b/httemplate/config/config-process.cgi
index 50f0d34ff..a296abfe4 100644
--- a/httemplate/config/config-process.cgi
+++ b/httemplate/config/config-process.cgi
@@ -26,7 +26,7 @@
#$conf->delete($i->key);
push @delete, $i->key;
}
- } elsif ( $type eq 'text' ) {
+ } elsif ( $type eq 'text' || $type eq 'select' ) {
if ( $cgi->param($i->key. $n) ne '' ) {
$conf->set($i->key, $cgi->param($i->key. $n));
} else {
diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi
index b041adaed..225c29507 100644
--- a/httemplate/config/config-view.cgi
+++ b/httemplate/config/config-view.cgi
@@ -32,7 +32,7 @@
</td></tr>
<% } elsif ( $type eq 'checkbox' ) { %>
<tr><td bgcolor="#<%= $conf->exists($i->key) ? '00ff00">YES' : 'ff0000">NO' %></td></tr>
- <% } elsif ( $type eq 'text' ) { %>
+ <% } elsif ( $type eq 'text' || $type eq 'select' ) { %>
<tr><td bgcolor="#ffffff"><%= $conf->exists($i->key) ? $conf->config($i->key) : '' %></td></tr>
<% } else { %>
<tr><td>