summaryrefslogtreecommitdiff
path: root/actions/favorited.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-02-05 16:16:10 -0800
committerZach Copley <zach@controlyourself.ca>2009-02-05 16:16:10 -0800
commitab82978b2d67545a9cd7bfc80837798212cff31b (patch)
tree27f1099827310661fb726ceefd6a8040436d1d58 /actions/favorited.php
parent8c8feb59b57ccf78589b9ab8a64f6195d226a568 (diff)
Trac #894 and #1013 - fixed bad redirects after delete notice
Diffstat (limited to 'actions/favorited.php')
-rw-r--r--actions/favorited.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/favorited.php b/actions/favorited.php
index 4155b3a23..fd5ff413c 100644
--- a/actions/favorited.php
+++ b/actions/favorited.php
@@ -104,6 +104,9 @@ class FavoritedAction extends Action
{
parent::prepare($args);
$this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
+
+ common_set_returnto($this->selfUrl());
+
return true;
}