aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
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 9443ae82..69dfd4b1 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -412,7 +412,7 @@ class EntryController extends Controller
412 ); 412 );
413 413
414 // don't redirect user to the deleted entry 414 // don't redirect user to the deleted entry
415 $to = ($url !== $request->headers->get('referer') ? $request->headers->get('referer') : $this->generateUrl('homepage')); 415 $to = ($url !== $request->headers->get('referer') ? $request->headers->get('referer') : null);
416 416
417 $redirectUrl = $this->get('wallabag_core.helper.redirect')->to($to); 417 $redirectUrl = $this->get('wallabag_core.helper.redirect')->to($to);
418 418