Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 17 years ago

#1511 closed defect (bug) (fixed)

Group invite screen SQL error when no friends

Reported by: DJPaul Owned by:
Priority: blocker Milestone: 1.2
Component: Version:
Severity: 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 17 years ago.
patch

Download all attachments as: .zip

Change History (4)

@DJPaul
17 years ago

patch

#1 @erich73
17 years ago

Thank you Paul !

Please also see the following ticket:

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

#2 @apeatling
17 years ago

  • Priority majorblocker

#3 @apeatling
17 years ago

  • Resolutionfixed
  • Status newclosed

Fixed in trunk.

Note: See TracTickets for help on using tickets.