aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-25 14:25:37 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-25 14:25:37 +0200
commit985ce3ec53a71174b30b1872813cb69cab8d7081 (patch)
treec7d8eb7ece7fd646909fcdeb9d6d13a1fa89ea72
parent33fe6a46a42ca1c13f2585b42d9da54aa2e45899 (diff)
downloadwallabag-985ce3ec53a71174b30b1872813cb69cab8d7081.tar.gz
wallabag-985ce3ec53a71174b30b1872813cb69cab8d7081.tar.zst
wallabag-985ce3ec53a71174b30b1872813cb69cab8d7081.zip
bug fix #259: Deleting article doesn't redirect
-rw-r--r--inc/poche/Poche.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 0766cd51..39d43761 100644
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -374,7 +374,7 @@ class Poche
374 $msg = 'error : can\'t delete link #' . $id; 374 $msg = 'error : can\'t delete link #' . $id;
375 } 375 }
376 Tools::logm($msg); 376 Tools::logm($msg);
377 Tools::redirect(); 377 Tools::redirect('?');
378 break; 378 break;
379 case 'toggle_fav' : 379 case 'toggle_fav' :
380 $this->store->favoriteById($id, $this->user->getId()); 380 $this->store->favoriteById($id, $this->user->getId());