Minor fix: For new group creation

On bp-group-calendar.php line 634,
$email = groups_get_groupmeta($group->id, 'group_calendar_send_email');
should go into an if statement

if ( !empty($group) ) {
	$email = groups_get_groupmeta($group->id, 'group_calendar_send_email');
}