Skip to content

Commit

Permalink
fix: name missing
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 committed Oct 5, 2023
1 parent 6c4527f commit 44f15ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EMS/core-bundle/src/Controller/Revision/EditController.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function editRevision(int $revisionId, Request $request): Response
$objectArray = $revision->getRawData();
$isValid = $this->dataService->isValid($form, null, $objectArray);
if (!$isValid) {
$this->logger->warning($revision->hasOuuid() ? 'log.data.revision.can_finalized' : 'log.data.new-document.can_finalized', LogRevisionContext::update($revision));
$this->logger->warning('' !== $revision->getLabel() ? 'log.data.revision.can_finalized' : 'log.data.new-document.can_finalized', LogRevisionContext::update($revision));
}
}

Expand Down

0 comments on commit 44f15ea

Please sign in to comment.