summaryrefslogtreecommitdiff
path: root/modules/tag/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag/controllers')
-rw-r--r--modules/tag/controllers/admin_tags.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/controllers/admin_tags.php b/modules/tag/controllers/admin_tags.php
index a56d4d20..e20b8ac8 100644
--- a/modules/tag/controllers/admin_tags.php
+++ b/modules/tag/controllers/admin_tags.php
@@ -45,7 +45,7 @@ class Admin_Tags_Controller extends Admin_Controller {
$tag = ORM::factory("tag", $id);
if (!$tag->loaded()) {
- kohana::show_404();
+ throw new Kohana_404_Exception();
}
$form = tag::get_delete_form($tag);
@@ -80,7 +80,7 @@ class Admin_Tags_Controller extends Admin_Controller {
$tag = ORM::factory("tag", $id);
if (!$tag->loaded()) {
- kohana::show_404();
+ throw new Kohana_404_Exception();
}
$in_place_edit = InPlaceEdit::factory($tag->name)