Skip to:
Content

BuddyPress.org


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

Breathing room for cast variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-settings/bp-settings-actions.php

    r5690 r5729  
    5252                    $emaildomain = substr( $user_email, 1 + strpos( $user_email, '@' ) );
    5353
    54                     if ( in_array( $emaildomain, (array)$limited_email_domains ) == false ) {
     54                    if ( in_array( $emaildomain, (array) $limited_email_domains ) == false ) {
    5555                        $email_error = true;
    5656                    }
     
    143143
    144144        if ( isset( $_POST['notifications'] ) ) {
    145             foreach ( (array)$_POST['notifications'] as $key => $value ) {
     145            foreach ( (array) $_POST['notifications'] as $key => $value ) {
    146146                if ( $meta_key = bp_get_user_meta_key( $key ) )
    147147                    bp_update_user_meta( (int)bp_displayed_user_id(), $meta_key, $value );
Note: See TracChangeset for help on using the changeset viewer.