aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/viewsrc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/viewsrc.php b/mod/viewsrc.php
index 3a369b613..0f4df9b9b 100644
--- a/mod/viewsrc.php
+++ b/mod/viewsrc.php
@@ -6,7 +6,7 @@ function viewsrc_content(&$a) {
$o = '';
$item_id = ((argc() > 1) ? intval(argv(1)) : 0);
- $json = ((argc() > 2 && argv[2] === 'json') ? true : false);
+ $json = ((argc() > 2 && argv(2) === 'json') ? true : false);
if(! local_user()) {
notice( t('Permission denied.') . EOL);