diff --git a/main/inc/lib/group_portal_manager.lib.php b/main/inc/lib/group_portal_manager.lib.php index 6da9b63355..65f3e38e4f 100755 --- a/main/inc/lib/group_portal_manager.lib.php +++ b/main/inc/lib/group_portal_manager.lib.php @@ -863,7 +863,7 @@ class GroupPortalManager */ public static function show_group_column_information($group_id, $user_id, $show = '') { - global $relation_group_title; + global $relation_group_title, $my_group_role; $group_info = GroupPortalManager::get_group_data($group_id); $picture = GroupPortalManager::get_picture_group($group_id, $group_info['picture_uri'],160,'medium_'); diff --git a/main/social/groups.php b/main/social/groups.php index 68bed59d14..ba0f227f78 100755 --- a/main/social/groups.php +++ b/main/social/groups.php @@ -184,7 +184,7 @@ if (isset($_POST['token']) && $_POST['token'] === $_SESSION['sec_token']) { // getting group information $group_id = intval($_GET['id']); $relation_group_title = ''; - +$my_group_role = 0; if ($group_id != 0 ) { $user_leave_message = false; $user_added_group_message = false;