diff --git a/boot.php b/boot.php index fc793132b..3ec827eee 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 bca369cd1..848db43bd 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