[freeside-commits] freeside/httemplate/config config.cgi,1.17,1.18

Ivan,,, ivan at wavetail.420.am
Thu Aug 10 15:18:47 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate/config
In directory wavetail:/tmp/cvs-serv19124

Modified Files:
	config.cgi 
Log Message:
bugfix for selects that don't have select_enum

Index: config.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/config/config.cgi,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- config.cgi	19 Jun 2006 08:05:28 -0000	1.17
+++ config.cgi	10 Aug 2006 22:18:45 -0000	1.18
@@ -102,7 +102,7 @@
 
               <% my $curvalue = $conf->config($i->key);
                  if ( $conf->exists($i->key) && $curvalue
-                      && ! grep { $curvalue eq $_ } @{$i->select_enum}
+                      && ! $hash{$curvalue}
                     ) {
               %>
               



More information about the freeside-commits mailing list