bug fix #227: Deleting element in archive redirect to home

This commit is contained in:
Nicolas Lœuillet 2013-10-03 14:48:53 +02:00
parent 34d67c835e
commit 6cd8af85da

View File

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