Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/03/2010 09:06:27 PM (17 years ago)
Author:
apeatling
Message:

Fixes #1551 - also safeguarded all foreach loops with an array typecast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r2547 r2576  
    355355                                $counter = 1;
    356356                                if ( $options ) {
    357                                         foreach ( $options as $option_key => $option_value ) {
     357                                        foreach ( (array)$options as $option_key => $option_value ) {
    358358                                                $is_default = 0;
    359359
Note: See TracChangeset for help on using the changeset viewer.