From c37be616007878fad6071d24080edc4d57c8f3ae Mon Sep 17 00:00:00 2001 From: Angel Date: Wed, 4 Dec 2024 18:01:49 +0800 Subject: [PATCH] [fix] strict comparison for operator string --- src/Medoo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Medoo.php b/src/Medoo.php index 7750c5b2..471d2d31 100644 --- a/src/Medoo.php +++ b/src/Medoo.php @@ -900,7 +900,7 @@ protected function dataImplode(array $data, array &$map, string $conjunctor): st continue; } - if ($operator && $operator != '=') { + if ($operator && $operator !== '=') { if (in_array($operator, ['>', '>=', '<', '<='])) { $condition = "{$column} {$operator} ";