diff --git a/src/Module/Contact.php b/src/Module/Contact.php index 4233be4625..bfed6495ae 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -88,7 +88,7 @@ class Contact extends BaseModule info(DI::l10n()->tt('%d contact edited.', '%d contacts edited.', $count_actions)); } - DI::baseUrl()->redirect('contact'); + DI::baseUrl()->redirect($_POST['redirect_url'] ?? 'contact'); } public static function post(array $parameters = []) diff --git a/view/templates/contacts-template.tpl b/view/templates/contacts-template.tpl index 1631640a0a..9253b862aa 100644 --- a/view/templates/contacts-template.tpl +++ b/view/templates/contacts-template.tpl @@ -15,6 +15,7 @@ {{$tabs nofilter}}