This commit is contained in:
Yuri Kuznetsov
2020-08-17 13:49:20 +03:00
parent 2f0e0d2a3b
commit db03f4f408
3 changed files with 22 additions and 54 deletions
@@ -1895,6 +1895,8 @@ abstract class BaseQueryComposer implements QueryComposer
return $this->convertMatchExpression($entity, $value);
}
$noCustomWhere = $noCustomWhere ?? $params['noCustomWhere'] ?? false;
if (is_int($field)) {
$field = 'AND';
}