aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-13 15:04:25 -0800
committerfriendica <info@friendica.com>2012-11-13 15:04:25 -0800
commit15c8da101aa8bf0b2362a27279861c58b14596b5 (patch)
treeff3a0775a125bbe45fe654a24ca61ec0494c8cf9 /mod
parentb7ccf08ceac4d648f97f0f422e2e6457840a1af2 (diff)
downloadvolse-hubzilla-15c8da101aa8bf0b2362a27279861c58b14596b5.tar.gz
volse-hubzilla-15c8da101aa8bf0b2362a27279861c58b14596b5.tar.bz2
volse-hubzilla-15c8da101aa8bf0b2362a27279861c58b14596b5.zip
sometimes it gets confusing when using two trees with completely different structures
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);