diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-02-05 16:16:10 -0800 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-02-05 16:16:10 -0800 |
commit | ab82978b2d67545a9cd7bfc80837798212cff31b (patch) | |
tree | 27f1099827310661fb726ceefd6a8040436d1d58 /actions/noticesearch.php | |
parent | 8c8feb59b57ccf78589b9ab8a64f6195d226a568 (diff) |
Trac #894 and #1013 - fixed bad redirects after delete notice
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r-- | actions/noticesearch.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/actions/noticesearch.php b/actions/noticesearch.php index 630fb8857..c0c238120 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -48,6 +48,16 @@ require_once INSTALLDIR.'/lib/searchaction.php'; */ class NoticesearchAction extends SearchAction { + + function prepare($args) + { + parent::prepare($args); + + common_set_returnto($this->selfUrl()); + + return true; + } + /** * Get instructions * |