[buddypress-trac] [BuddyPress] #1284: BP_Groups_Group::get_all method generates bad mysql request

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Nov 24 13:54:42 UTC 2009


#1284: BP_Groups_Group::get_all method generates bad mysql request
----------------------+-----------------------------------------------------
  Reporter:  Fairweb  |       Owner:  MrMaz                                      
      Type:  defect   |      Status:  closed                                     
  Priority:  major    |   Milestone:  1.1.3                                      
Resolution:  fixed    |    Keywords:  has-patch group mysql status public request
----------------------+-----------------------------------------------------

Comment(by apeatling):

 I'm not sure we need to overcomplicate things. Adding a WHERE 1=1 and then
 all the AND additions will work just fine in this case.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1284#comment:13>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list