diff options
author | ivan <ivan> | 2008-07-09 20:33:01 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-07-09 20:33:01 +0000 |
commit | 0a7ecc6aaf613683a7d1ccd65c80b09da1fff93e (patch) | |
tree | fef9809f59c479a8afc7dc9d22a1f3dbb079896b /FS/FS/svc_Common.pm | |
parent | 7ceb77bbb05c53b276366b2cfeb6a42ca348b3f5 (diff) |
perl vs SQL brainfart
Diffstat (limited to 'FS/FS/svc_Common.pm')
-rw-r--r-- | FS/FS/svc_Common.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm index 21df6a7..65b34c7 100644 --- a/FS/FS/svc_Common.pm +++ b/FS/FS/svc_Common.pm @@ -49,7 +49,7 @@ sub search_sql_field { 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... |