aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-22 14:04:10 +0200
committerArthurHoaro <arthur@hoa.ro>2020-09-22 14:04:10 +0200
commit2785d85e0a7e952fe2de349659b36091fd5f1d51 (patch)
tree71ffd385f7d8d468d392441c508c26a5f1237ab5
parent0d930454a2892715e691f9c7713e26a3bb4ee96c (diff)
downloadShaarli-2785d85e0a7e952fe2de349659b36091fd5f1d51.tar.gz
Shaarli-2785d85e0a7e952fe2de349659b36091fd5f1d51.tar.zst
Shaarli-2785d85e0a7e952fe2de349659b36091fd5f1d51.zip
Fix redirection to referer after editing a link
Fixes #1545
-rw-r--r--application/front/controller/admin/ManageShaareController.php2
1 files changed, 1 insertions, 1 deletions
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 @@ class ManageShaareController extends ShaarliAdminController
169 return $this->redirectFromReferer( 169 return $this->redirectFromReferer(
170 $request, 170 $request,
171 $response, 171 $response,
172 ['add-shaare', 'shaare'], ['addlink', 'post', 'edit_link'], 172 ['/admin/add-shaare', '/admin/shaare'], ['addlink', 'post', 'edit_link'],
173 $bookmark->getShortUrl() 173 $bookmark->getShortUrl()
174 ); 174 );
175 } 175 }