summaryrefslogtreecommitdiff
path: root/modules/rss/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rss/controllers')
-rw-r--r--modules/rss/controllers/rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rss/controllers/rss.php b/modules/rss/controllers/rss.php
index ed2acef8..a963a1dc 100644
--- a/modules/rss/controllers/rss.php
+++ b/modules/rss/controllers/rss.php
@@ -39,7 +39,7 @@ class Rss_Controller extends Controller {
}
}
if (empty($feed)) {
- Kohana::show_404();
+ throw new Kohana_404_Exception();
}
if ($feed->max_pages && $page > $feed->max_pages) {