From 2785d85e0a7e952fe2de349659b36091fd5f1d51 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 22 Sep 2020 14:04:10 +0200 Subject: [PATCH] Fix redirection to referer after editing a link Fixes #1545 --- application/front/controller/admin/ManageShaareController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/front/controller/admin/ManageShaareController.php b/application/front/controller/admin/ManageShaareController.php index 33e1188e..ca2da9b5 100644 --- a/application/front/controller/admin/ManageShaareController.php +++ b/application/front/controller/admin/ManageShaareController.php @@ -169,7 +169,7 @@ public function save(Request $request, Response $response): Response return $this->redirectFromReferer( $request, $response, - ['add-shaare', 'shaare'], ['addlink', 'post', 'edit_link'], + ['/admin/add-shaare', '/admin/shaare'], ['addlink', 'post', 'edit_link'], $bookmark->getShortUrl() ); }