Skip to content

Commit

Permalink
fix inizializzazione modificatore
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Dec 23, 2024
1 parent 99f58f5 commit 3e3659f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/app/Models/Concerns/ModifiableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function attachEmptyModifier($modtype)
$mod->modifier_type_id = $modtype->id;
$mod->target_type = get_class($this);
$mod->target_id = (string) $this->id;
$mod->applies_type = 'none';
$mod->definition = '[]';
$mod->save();

Expand Down

0 comments on commit 3e3659f

Please sign in to comment.