Skip to content

Commit

Permalink
Fix HistoryLogger missing STATUS_PROPERTY check on log update skip
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-ducrot committed Sep 19, 2024
1 parent aa07f31 commit fe4b6d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Logger/HistoryLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public function log(HistorizableInterface $entity, ?string $code = null, array $
if (
$code === self::UPDATED_CODE
&& !isset($history[self::DIFF_PROPERTY])
&& !isset($history[self::STATUS_PROPERTY])
&& $this->title === null
&& $this->comment === null
&& $this->description === null
Expand Down

0 comments on commit fe4b6d7

Please sign in to comment.