aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2016-01-02 12:45:08 +0100
committerNicolas Lœuillet <nicolas@loeuillet.org>2016-01-02 12:45:08 +0100
commit00a051add470637f69584c9753dada9ee9f760de (patch)
tree85fb19b2ca61632e3971adbab19457990c52363d /src/Wallabag
parente6a228c43bf98f64d2d046314bae224c5b87399e (diff)
parente82160e5e96fb6d42c4d4d0bbffb1b4ce140f4c5 (diff)
downloadwallabag-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.php2
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 /**