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 )