refactor: remove duplicated trim()

It is already trimmed in Line 415.
This commit is contained in:
kenjis 2024-06-28 09:39:06 +09:00
parent 6ba48cf061
commit 227f53a6cd
No known key found for this signature in database
GPG Key ID: BD254878922AF198

View File

@ -424,7 +424,7 @@ class BaseBuilder
* This prevents NULL being escaped
* @see https://github.com/codeigniter4/CodeIgniter4/issues/1169
*/
if (mb_stripos(trim($val), 'NULL') === 0) {
if (mb_stripos($val, 'NULL') === 0) {
$this->QBNoEscape[] = false;
continue;