Skip to content

Commit

Permalink
Merge branch '1.x' into fix/product-variant-attribute-filling
Browse files Browse the repository at this point in the history
  • Loading branch information
glennjacobs authored Nov 5, 2024
2 parents 74d0975 + e97122e commit 244f4b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function form(Form $form): Form
ignoreRecord: true,
modifyRuleUsing: function (Unique $rule, callable $get) {
return $rule
->where('element_type', static::$model)
->where('element_type', (new static::$model)->getMorphClass())
->where('language_id', $get('language_id'));
}
)
Expand Down

0 comments on commit 244f4b0

Please sign in to comment.