summaryrefslogtreecommitdiff
path: root/actions/noticesearch.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-06 01:07:09 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-06 01:07:09 -0500
commitd3ff8bfec63db1648e6336924030255904a6eeb5 (patch)
treea577662c6e6f9deebe3e13f7aeefc81d8b75f00f /actions/noticesearch.php
parentc47bfcef652326d04f08a3f57c395961e74da089 (diff)
parentd51be320caf9371d3b45b231e7c6de61c67d9068 (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r--actions/noticesearch.php10
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
*