diff options
| author | ivan <ivan> | 2008-07-09 20:33:02 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2008-07-09 20:33:02 +0000 | 
| commit | 05dbe21d1c64a6b0c2a31ff466a5580560340a9d (patch) | |
| tree | 1bfe5b75cd5a3c1d5c01defbecde37ac39097c17 | |
| parent | f6d0800e82eea5b295056e9bb6db43797298ef1f (diff) | |
perl vs SQL brainfart
| -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 14e020d3b..320c0e638 100644 --- a/FS/FS/svc_Common.pm +++ b/FS/FS/svc_Common.pm @@ -48,7 +48,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...  | 
