Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 09:32:04 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Breathing room for cast variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-screens.php

    r5700 r5729  
    148148        // Add any errors to the action for the field in the template for display.
    149149        if ( !empty( $bp->signup->errors ) ) {
    150             foreach ( (array)$bp->signup->errors as $fieldname => $error_message )
     150            foreach ( (array) $bp->signup->errors as $fieldname => $error_message )
    151151                add_action( 'bp_' . $fieldname . '_errors', create_function( '', 'echo apply_filters(\'bp_members_signup_error_message\', "<div class=\"error\">' . $error_message . '</div>" );' ) );
    152152        } else {
Note: See TracChangeset for help on using the changeset viewer.