aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-29 18:38:24 -0700
committerredmatrix <git@macgirvin.com>2016-05-29 18:38:24 -0700
commit3b2679db29077c33912edb085a24906708ad97ee (patch)
tree1e4166ac246697000d2e81b93b84237688f0936c /boot.php
parentac4688eac087854bf8cb0c893d7a79052ad63a20 (diff)
downloadvolse-hubzilla-3b2679db29077c33912edb085a24906708ad97ee.tar.gz
volse-hubzilla-3b2679db29077c33912edb085a24906708ad97ee.tar.bz2
volse-hubzilla-3b2679db29077c33912edb085a24906708ad97ee.zip
fix remote_channel(), update php minversion requirement
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index fec908ce0..a882be2eb 100755
--- a/boot.php
+++ b/boot.php
@@ -1803,7 +1803,7 @@ function local_user() {
function remote_channel() {
if(session_id()
&& array_key_exists('authenticated',$_SESSION) && $_SESSION['authenticated']
- && array_key_exists('visitor_id',$_SESSION) && intval($_SESSION['visitor_id']))
+ && array_key_exists('visitor_id',$_SESSION) && $_SESSION['visitor_id'])
return $_SESSION['visitor_id'];
return false;