summaryrefslogtreecommitdiff
path: root/httemplate/config/config.cgi
diff options
context:
space:
mode:
authorivan <ivan>2006-08-10 22:18:45 +0000
committerivan <ivan>2006-08-10 22:18:45 +0000
commitdbc120189697e8306f62349c310f5410f8382491 (patch)
treefbc667b9d358e6452f1c14e804e87e0ecf820aca /httemplate/config/config.cgi
parent0a7d9371d3514312edd8661c621876cece4d5221 (diff)
bugfix for selects that don't have select_enum
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 6008c0e42..cf228dba5 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}
) {
%>