]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Fix redirection to referer after editing a link 1559/head
authorArthurHoaro <arthur@hoa.ro>
Tue, 22 Sep 2020 12:04:10 +0000 (14:04 +0200)
committerArthurHoaro <arthur@hoa.ro>
Tue, 22 Sep 2020 12:04:10 +0000 (14:04 +0200)
Fixes #1545

application/front/controller/admin/ManageShaareController.php

index 33e1188ef73a6f0df55c2daba25e88cea29d8f91..ca2da9b53b7edb4e545ba7b337f04138313ab3f3 100644 (file)
@@ -169,7 +169,7 @@ class ManageShaareController extends ShaarliAdminController
         return $this->redirectFromReferer(
             $request,
             $response,
-            ['add-shaare', 'shaare'], ['addlink', 'post', 'edit_link'],
+            ['/admin/add-shaare', '/admin/shaare'], ['addlink', 'post', 'edit_link'],
             $bookmark->getShortUrl()
         );
     }