aboutsummaryrefslogtreecommitdiffstats
path: root/mod/viewsrc.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/viewsrc.php')
-rw-r--r--mod/viewsrc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/viewsrc.php b/mod/viewsrc.php
index cffb01b6e..a4efd1214 100644
--- a/mod/viewsrc.php
+++ b/mod/viewsrc.php
@@ -16,7 +16,7 @@ function viewsrc_content(&$a) {
if(! $item_id) {
- $a->error = 404;
+ App::$error = 404;
notice( t('Item not found.') . EOL);
}