From 55b379cd8c99b54e86311f51ed386de7a345b7d5 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 5 Nov 2018 10:18:35 +0100 Subject: [PATCH] fix --- build/orm/core/Rows.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/orm/core/Rows.php b/build/orm/core/Rows.php index 0bd7592..f350bae 100755 --- a/build/orm/core/Rows.php +++ b/build/orm/core/Rows.php @@ -237,7 +237,7 @@ /* [3] If `IN` condition =========================================================*/ $defaultWhere = $this->where; - $inCond = count($args[0]) > 1 && is_array($args[0][0]) && $args[0][1] == self::COND_IN; + $inCond = is_array($args[0]) && count($args[0]) > 1 && is_array($args[0][0]) && $args[0][1] == self::COND_IN; // erreur if( is_array($args[0][0]) && !$inCond )