main/inc/ajax/model.ajax.php 1 location
|
@@ 93-95 (lines=3) @@
|
90 |
|
if ($oper == 'ew' || $oper == 'en') { |
91 |
|
$val = '%'.$val; |
92 |
|
} |
93 |
|
if ($oper == 'cn' || $oper == 'nc' || $oper == 'in' || $oper == 'ni') { |
94 |
|
$val = '%'.$val.'%'; |
95 |
|
} |
96 |
|
$val = Database::escape_string($val); |
97 |
|
|
98 |
|
return " $col {$ops[$oper]} '$val' "; |
main/inc/lib/extra_field.lib.php 1 location
|
@@ 2103-2105 (lines=3) @@
|
2100 |
|
if ($oper == 'ew' || $oper == 'en') { |
2101 |
|
$val = '%'.$val; |
2102 |
|
} |
2103 |
|
if ($oper == 'cn' || $oper == 'nc' || $oper == 'in' || $oper == 'ni') { |
2104 |
|
$val = '%'.$val.'%'; |
2105 |
|
} |
2106 |
|
$val = \Database::escape_string($val); |
2107 |
|
|
2108 |
|
return " $col {$this->ops[$oper]} '$val' "; |