bugfix for selects that don't have select_enum
[freeside.git] / httemplate / config / config.cgi
index 6008c0e..cf228db 100644 (file)
@@ -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}
                     ) {
               %>