[buddypress-trac] [BuddyPress] #1511: Group invite screen SQL error when no friends

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Dec 30 22:48:52 UTC 2009


#1511: Group invite screen SQL error when no friends
----------------------+-----------------------------------------------------
Reporter:  DJPaul     |       Owner:     
    Type:  defect     |      Status:  new
Priority:  major      |   Milestone:  1.2
Keywords:  has-patch  |  
----------------------+-----------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1511>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list