Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 14 years ago

#1508 closed defect (bug) (fixed)

Reference to unknown array in function bp_group_list_mods

Reported by: tobiaslohr's profile tobiaslohr Owned by:
Milestone: 1.2.4 Priority: minor
Severity: Version:
Component: Core Keywords:
Cc:

Description

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++ ) { ?>

Change History (2)

#1 @johnjamesjacoby
14 years ago

  • Component set to Core
  • Milestone set to 1.2.4

#2 @johnjamesjacoby
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

No longer an issue.

Note: See TracTickets for help on using tickets.