Skip to content

Commit

Permalink
do not duplicate initChangelog calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mmadariaga committed Dec 1, 2022
1 parent 169cfdb commit 0fdf603
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ public function onHydratorComplete(LifecycleEventArgs $args)
return;
}

$object->initChangelog();
if (!$object->isInitialized()) {
$object->initChangelog();
}
}

public function onSchemaColumnDefinition(SchemaColumnDefinitionEventArgs $args)
Expand Down

0 comments on commit 0fdf603

Please sign in to comment.