Make LIKE sql WHERE clause lower case
This commit is contained in:
parent
061d473cad
commit
ad4143771c
|
@ -132,7 +132,10 @@
|
|||
/* [1] On construit la requête
|
||||
=========================================================*/
|
||||
/* (1) Chamo */
|
||||
$sql .= $field[0].'.'.$field[1].' ';
|
||||
if( $value[1] == Rows::COND_LIKE ) // make LIKE lowercase
|
||||
$sql .= 'LOWER('.$field[0].'.'.$field[1].') ';
|
||||
else
|
||||
$sql .= $field[0].'.'.$field[1].' ';
|
||||
|
||||
/* (2) Opérateur */
|
||||
$sql .= substr($value[1], 2, -2).' ';
|
||||
|
|
Loading…
Reference in New Issue