From: ivan Date: Thu, 10 Aug 2006 22:18:45 +0000 (+0000) Subject: bugfix for selects that don't have select_enum X-Git-Tag: BEFORE_RT_3_4_5^2~28 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=dbc120189697e8306f62349c310f5410f8382491;p=freeside.git bugfix for selects that don't have select_enum --- 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} ) { %>