Skip to content

Commit

Permalink
IBX-7020: Fixed redirect after saving and closing
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Dec 14, 2023
1 parent d67dca7 commit c27d738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/Form/Processor/ContentFormProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ public function processSaveDraftAndClose(FormActionEvent $event): void
$redirectionContentId = $parentLocation->contentId;
}
} else {
$redirectionLocationId = $referrerLocation->contentId;
$redirectionContentId = $referrerLocation->id;
$redirectionLocationId = $referrerLocation->id;
$redirectionContentId = $referrerLocation->contentId;
}

$event->setPayload('content', $draft);
Expand Down

0 comments on commit c27d738

Please sign in to comment.