Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1511 closed defect (bug) (fixed)

Group invite screen SQL error when no friends

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.2 Priority: blocker
Severity: Version:
Component: Keywords: has-patch
Cc:

Description

When a user has no friends and creates a group, on the invite group screen, there is an SQL error.

The logic for displaying the "Select people to invite from your friends list" text is faulty if you have no friends - the UL is empty and you get this text notice stuck partway in the page.

The patch attached fixes the SQL error and adds a check to the bp-default theme to show a message if a user has no friends to invite.

Attachments (1)

ticket-1511.patch (4.1 KB) - added by DJPaul 15 years ago.
patch

Download all attachments as: .zip

Change History (4)

@DJPaul
15 years ago

patch

#1 @erich73
15 years ago

Thank you Paul !

Please also see the following ticket:

http://trac.buddypress.org/ticket/1498

#2 @apeatling
15 years ago

  • Priority changed from major to blocker

#3 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in trunk.

Note: See TracTickets for help on using tickets.