1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -05:00

bug fix #259: Deleting article doesn't redirect

This commit is contained in:
Nicolas Lœuillet 2013-10-25 14:25:37 +02:00
parent 33fe6a46a4
commit 985ce3ec53

View File

@ -374,7 +374,7 @@ class Poche
$msg = 'error : can\'t delete link #' . $id; $msg = 'error : can\'t delete link #' . $id;
} }
Tools::logm($msg); Tools::logm($msg);
Tools::redirect(); Tools::redirect('?');
break; break;
case 'toggle_fav' : case 'toggle_fav' :
$this->store->favoriteById($id, $this->user->getId()); $this->store->favoriteById($id, $this->user->getId());