diff --git a/boot.php b/boot.php index fc793132b8..3ec827eee1 100644 --- a/boot.php +++ b/boot.php @@ -359,8 +359,8 @@ function local_user() { if(! function_exists('remote_user')) { function remote_user() { - if((x($_SESSION,'authenticated')) && (x($_SESSION,'cid'))) - return $_SESSION['cid']; + if((x($_SESSION,'authenticated')) && (x($_SESSION,'visitor_id'))) + return $_SESSION['visitor_id']; return false; }} diff --git a/include/group.php b/include/group.php index bca369cd1a..848db43bd3 100644 --- a/include/group.php +++ b/include/group.php @@ -125,18 +125,22 @@ function group_side($every="contacts",$each="group") { if(! local_user()) return; + +$createtext = t('Create a new group'); +$linktext= t('Everybody'); + $o .= <<< EOT

Groups