Skip to content

Commit

Permalink
Fix: #3785 - wrong redirect after edit placelocation
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Mar 19, 2021
1 parent 69cdf01 commit ecef0b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/admin/location-edit.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ use Fisharebest\Webtrees\View;
<form method="post" action="<?= e(route(MapDataSave::class)) ?>">
<?= csrf_field() ?>
<input type="hidden" name="place_id" value="<?= e($location->id()) ?>">
<input type="hidden" name="parent_id" value="<?= e($location->parent()->id()) ?>">

<div class="form-group row">
<label class="col-form-label col-sm-1" for="new_place_name">
Expand Down

0 comments on commit ecef0b8

Please sign in to comment.