aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 041fe71c..fa580133 100644
--- a/src/Wallabag/CoreBundle/Controller/EntryController.php
+++ b/src/Wallabag/CoreBundle/Controller/EntryController.php
@@ -374,7 +374,7 @@ class EntryController extends Controller
374 ); 374 );
375 375
376 // don't redirect user to the deleted entry 376 // don't redirect user to the deleted entry
377 return $this->redirect($url !== $request->headers->get('referer') ?: $this->generateUrl('homepage')); 377 return $this->redirect($url !== $request->headers->get('referer') ? $request->headers->get('referer') : $this->generateUrl('homepage'));
378 } 378 }
379 379
380 /** 380 /**