We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a01958a commit 3c1af9bCopy full SHA for 3c1af9b
src/Mixins/RelationshipsExtraMethods.php
@@ -530,7 +530,7 @@ public function applyNestedCondition()
530
public function shouldNotApplyExtraCondition()
531
{
532
return function ($condition) {
533
- if (isset($condition['column']) && Str::endsWith($condition['column'], '.')) {
+ if (isset($condition['column']) && ($condition['column'] === '' || Str::endsWith($condition['column'], '.'))) {
534
return true;
535
}
536
0 commit comments