summaryrefslogtreecommitdiff
path: root/actions/public.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/public.php
parent8c8feb59b57ccf78589b9ab8a64f6195d226a568 (diff)
Trac #894 and #1013 - fixed bad redirects after delete notice
Diffstat (limited to 'actions/public.php')
-rw-r--r--actions/public.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/public.php b/actions/public.php
index cfdc99bb3..cc6537f74 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -73,6 +73,9 @@ class PublicAction extends Action
{
parent::prepare($args);
$this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
+
+ common_set_returnto($this->selfUrl());
+
return true;
}