From 511c761fec572a093e833541968635ca011cb71e Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 18 Oct 2010 00:43:49 -0700 Subject: group/community/celebrity pages --- boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 3bc8d2983..786ebdee6 100644 --- a/boot.php +++ b/boot.php @@ -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; }} -- cgit v1.2.3