[freeside-commits] freeside/FS/FS svc_Common.pm,1.45,1.46

Ivan,,, ivan at wavetail.420.am
Wed Jul 9 13:33:04 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv17414

Modified Files:
	svc_Common.pm 
Log Message:
perl vs SQL brainfart

Index: svc_Common.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_Common.pm,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- svc_Common.pm	9 Jul 2008 19:35:43 -0000	1.45
+++ svc_Common.pm	9 Jul 2008 20:33:01 -0000	1.46
@@ -49,7 +49,7 @@
   my( $class, $field, $string ) = @_;
   my $table = $class->table;
   my $q_string = dbh->quote($string);
-  "lc($table.$field) = lc($q_string)";
+  "LOWER($table.$field) = LOWER($q_string)";
 }
 
 #fallback for services that don't provide a search... 



More information about the freeside-commits mailing list