fix remote_channel(), update php minversion requirement
This commit is contained in:
2
boot.php
2
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;
|
||||
|
||||
Reference in New Issue
Block a user