From 3b2679db29077c33912edb085a24906708ad97ee Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 29 May 2016 18:38:24 -0700 Subject: fix remote_channel(), update php minversion requirement --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') 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; -- cgit v1.2.3