[buddypress-trac] [BuddyPress] #2733: groups_join_group() parameter fixes
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sat Nov 13 23:16:54 UTC 2010
#2733: groups_join_group() parameter fixes
-----------------------+----------------------------------------------------
Reporter: r-a-y | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.3
Component: Groups | Version: 1.2.6
Keywords: has-patch |
-----------------------+----------------------------------------------------
Comment(by DJPaul):
The patch I'm about to commit builds off yours, but switches this to use a
local object. If $bp->groups->current_group is already set (i.e. we're in
the context of a groups loop, as you suggest), we'll use that rather than
create a new database object.
--
Ticket URL: <https://trac.buddypress.org/ticket/2733#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list