diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-11-25 13:49:40 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-25 13:51:33 -0800 |
commit | 4a417708f00b1ebd5865c8075bb36b7fc0f14756 (patch) | |
tree | 6dbc5a9f5ba6adf16d6ea78c991723d97038156b /modules/tag/helpers | |
parent | 33b1d4b7efa8c6b825908f48c7e744578e7f9ae6 (diff) |
Kohana::show_404() -> throw new Kohana_404_Exception()
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r-- | modules/tag/helpers/tag_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_rss.php b/modules/tag/helpers/tag_rss.php index 03017dc3..f09a4530 100644 --- a/modules/tag/helpers/tag_rss.php +++ b/modules/tag/helpers/tag_rss.php @@ -32,7 +32,7 @@ class tag_rss_Core { if ($feed_id == "tag") { $tag = ORM::factory("tag", $id); if (!$tag->loaded()) { - Kohana::show_404(); + throw new Kohana_404_Exception(); } $feed->children = $tag->items($limit, $offset, "photo"); $feed->max_pages = ceil($tag->count / $limit); |