diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-18 00:43:49 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-18 00:43:49 -0700 |
commit | 511c761fec572a093e833541968635ca011cb71e (patch) | |
tree | 3db5bbc37e47d7bfb7da1086483fff28ca66e147 /boot.php | |
parent | be981a4f8a00fa7fb3e5bf9ac47aa38fd5187a35 (diff) | |
download | volse-hubzilla-511c761fec572a093e833541968635ca011cb71e.tar.gz volse-hubzilla-511c761fec572a093e833541968635ca011cb71e.tar.bz2 volse-hubzilla-511c761fec572a093e833541968635ca011cb71e.zip |
group/community/celebrity pages
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -567,7 +567,7 @@ function xml_status($st, $message = '') { if(! function_exists('local_user')) { function local_user() { if((x($_SESSION,'authenticated')) && (x($_SESSION,'uid'))) - return $_SESSION['uid']; + return intval($_SESSION['uid']); return false; }} @@ -576,7 +576,7 @@ function local_user() { if(! function_exists('remote_user')) { function remote_user() { if((x($_SESSION,'authenticated')) && (x($_SESSION,'visitor_id'))) - return $_SESSION['visitor_id']; + return intval($_SESSION['visitor_id']); return false; }} |