Skip to content

Commit 227f53a

Browse files
committed
refactor: remove duplicated trim()
It is already trimmed in Line 415.
1 parent 6ba48cf commit 227f53a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Database/BaseBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ public function select($select = '*', ?bool $escape = null)
424424
* This prevents NULL being escaped
425425
* @see https://github.com/codeigniter4/CodeIgniter4/issues/1169
426426
*/
427-
if (mb_stripos(trim($val), 'NULL') === 0) {
427+
if (mb_stripos($val, 'NULL') === 0) {
428428
$this->QBNoEscape[] = false;
429429

430430
continue;

0 commit comments

Comments
 (0)