diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-01-02 12:45:08 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-01-02 12:45:08 +0100 |
commit | 00a051add470637f69584c9753dada9ee9f760de (patch) | |
tree | 85fb19b2ca61632e3971adbab19457990c52363d /src/Wallabag | |
parent | e6a228c43bf98f64d2d046314bae224c5b87399e (diff) | |
parent | e82160e5e96fb6d42c4d4d0bbffb1b4ce140f4c5 (diff) | |
download | wallabag-00a051add470637f69584c9753dada9ee9f760de.tar.gz wallabag-00a051add470637f69584c9753dada9ee9f760de.tar.zst wallabag-00a051add470637f69584c9753dada9ee9f760de.zip |
Merge pull request #1547 from wallabag/v2-mistakes
v2 – Fix wrong if when deleting an entry
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/EntryController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index 2f3fd6a9..b437e029 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -347,7 +347,7 @@ class EntryController extends Controller | |||
347 | ); | 347 | ); |
348 | 348 | ||
349 | // don't redirect user to the deleted entry | 349 | // don't redirect user to the deleted entry |
350 | return $this->redirect($url !== $request->headers->get('referer') ?: $this->generateUrl('homepage')); | 350 | return $this->redirect($url !== $request->headers->get('referer') ? $request->headers->get('referer') : $this->generateUrl('homepage')); |
351 | } | 351 | } |
352 | 352 | ||
353 | /** | 353 | /** |