Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.3' into 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjia90 committed Mar 12, 2024
2 parents 3559ead + 56c3bd4 commit c0eb487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Admin/Document/DocumentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ public function diffVersionsAction(Request $request, int $from, int $to, Documen
$docTo = $versionTo?->loadData();

if (!$docTo) {
throw $this->createNotFoundException('Version with id [' . $from . "] doesn't exist");
throw $this->createNotFoundException('Version with id [' . $to . "] doesn't exist");
}

$comparisonId = uniqid(date('Y-m-d') . '-', true);
Expand Down

0 comments on commit c0eb487

Please sign in to comment.