aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 14:48:53 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-03 14:48:53 +0200
commit6cd8af85dac4a30784ff3cbeaaca91b8af8a44af (patch)
tree234ebe533aa8ef95dade508de4e415f2a950ba61
parent34d67c835e250c853fc8ff4230abd24ba521b878 (diff)
downloadwallabag-6cd8af85dac4a30784ff3cbeaaca91b8af8a44af.tar.gz
wallabag-6cd8af85dac4a30784ff3cbeaaca91b8af8a44af.tar.zst
wallabag-6cd8af85dac4a30784ff3cbeaaca91b8af8a44af.zip
bug fix #227: Deleting element in archive redirect to home
-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 ffef1c3e..8567cd8f 100644
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -333,7 +333,7 @@ class Poche
333 $msg = 'error : can\'t delete link #' . $id; 333 $msg = 'error : can\'t delete link #' . $id;
334 } 334 }
335 Tools::logm($msg); 335 Tools::logm($msg);
336 Tools::redirect('?'); 336 Tools::redirect();
337 break; 337 break;
338 case 'toggle_fav' : 338 case 'toggle_fav' :
339 $this->store->favoriteById($id, $this->user->getId()); 339 $this->store->favoriteById($id, $this->user->getId());