summaryrefslogtreecommitdiff
path: root/httemplate/config/config.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/config/config.cgi')
-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 6008c0e..cf228db 100644
--- a/httemplate/config/config.cgi
+++ b/httemplate/config/config.cgi
@@ -102,7 +102,7 @@ function SafeOnsubmit() {
<% my $curvalue = $conf->config($i->key);
if ( $conf->exists($i->key) && $curvalue
- && ! grep { $curvalue eq $_ } @{$i->select_enum}
+ && ! $hash{$curvalue}
) {
%>