summaryrefslogtreecommitdiff
path: root/actions/noticesearchrss.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-20 14:52:29 -0800
committerBrion Vibber <brion@pobox.com>2009-11-20 14:52:29 -0800
commit05a0f45de569d7a779da128ca45042ebc5fc3cb7 (patch)
tree60031beb2e9328776761174b10e0000c22fe325f /actions/noticesearchrss.php
parent83ba93e945e5b933a73139f9e5db710444c99893 (diff)
Fix bug 1997: notice search rss utter failure
Since commit c4072ef7c930b82b74f8e90f6554974b761c686c in March there's no longer an automatic run of $this->getNotices() from RssAction parent class; added to the subclass. It might make sense to put it back in the parent class, but of course only if those dupe calls can be resolved.
Diffstat (limited to 'actions/noticesearchrss.php')
-rw-r--r--actions/noticesearchrss.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/actions/noticesearchrss.php b/actions/noticesearchrss.php
index 18f07f855..a59e7b99b 100644
--- a/actions/noticesearchrss.php
+++ b/actions/noticesearchrss.php
@@ -53,6 +53,13 @@ class NoticesearchrssAction extends Rss10Action
{
return true;
}
+
+ function prepare($args)
+ {
+ parent::prepare($args);
+ $this->notices = $this->getNotices();
+ return true;
+ }
function getNotices($limit=0)
{