[freeside-commits] freeside/FS/FS svc_Common.pm,1.39.2.4,1.39.2.5
Ivan,,,
ivan at wavetail.420.am
Wed Jul 9 13:33:07 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv17417
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.39.2.4
retrieving revision 1.39.2.5
diff -u -d -r1.39.2.4 -r1.39.2.5
--- svc_Common.pm 9 Jul 2008 19:35:44 -0000 1.39.2.4
+++ svc_Common.pm 9 Jul 2008 20:33:02 -0000 1.39.2.5
@@ -48,7 +48,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