summaryrefslogtreecommitdiff
path: root/modules/digibug
diff options
context:
space:
mode:
Diffstat (limited to 'modules/digibug')
-rw-r--r--modules/digibug/controllers/digibug.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/digibug/controllers/digibug.php b/modules/digibug/controllers/digibug.php
index a23d2863..6e6009db 100644
--- a/modules/digibug/controllers/digibug.php
+++ b/modules/digibug/controllers/digibug.php
@@ -87,7 +87,7 @@ class Digibug_Controller extends Controller {
$file = $type == "full" ? $proxy->item->file_path() : $proxy->item->thumb_path();
if (!file_exists($file)) {
- kohana::show_404();
+ throw new Kohana_404_Exception();
}
// We don't need to save the session for this request