summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-03 12:28:56 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-03 12:28:56 -0500
commit54df7dcbbd0dd6be05551edef9fa2546c16b3536 (patch)
treed6658af62dbb143ee4c3551e8d3d19622ea9c2af
parentf41e5317379ca86a28f48f1a1705fb916da36d44 (diff)
rollback removing init from rssaction
darcs-hash:20081203172856-5ed1f-78a27cd47a2b5733bd55d0acfd7c399c5818ba08.gz
-rw-r--r--lib/rssaction.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php
index 2f6fa005a..aa6e3daee 100644
--- a/lib/rssaction.php
+++ b/lib/rssaction.php
@@ -60,6 +60,10 @@ class Rss10Action extends Action {
function show_rss($limit=0) {
+ if (!$this->init()) {
+ return;
+ }
+
$notices = $this->get_notices($limit);
$this->init_rss();