From dbc120189697e8306f62349c310f5410f8382491 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 10 Aug 2006 22:18:45 +0000 Subject: [PATCH] bugfix for selects that don't have select_enum --- httemplate/config/config.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} ) { %> -- 2.11.0