[buddypress-trac] [BuddyPress] #1508: Reference to unknown array in function bp_group_list_mods

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Dec 30 18:44:45 UTC 2009


#1508: Reference to unknown array in function bp_group_list_mods
-----------------------+----------------------------------------------------
Reporter:  tobiaslohr  |       Owner:     
    Type:  defect      |      Status:  new
Priority:  minor       |   Milestone:     
Keywords:              |  
-----------------------+----------------------------------------------------
 In the template tag function "bp_group_list_mods" there is a reference to
 an unknown array "admins" when calculating the number of iterations in the
 for-loop.

 Line 692 in file bp-groups-templatetags.php:

 {{{
 <?php for ( $i = 0; $i < count($admins); $i++ ) { ?>
 }}}

 actually must be

 {{{
 <?php for ( $i = 0; $i < count($group_mods); $i++ ) { ?>
 }}}

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


More information about the buddypress-trac mailing list