Skip to:
Content

BuddyPress.org

Changeset 6362


Ignore:
Timestamp:
09/29/2012 11:08:53 AM (12 years ago)
Author:
djpaul
Message:

Remove duplicate bp_get_user_meta_key() call in bp_settings_action_notifications(). Fixes #4441, props sbrajesh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.6/bp-settings/bp-settings-actions.php

    r6270 r6362  
    239239        if ( isset( $_POST['notifications'] ) ) {
    240240            foreach ( (array) $_POST['notifications'] as $key => $value ) {
    241                 if ( $meta_key = bp_get_user_meta_key( $key ) ) {
    242                     bp_update_user_meta( (int) bp_displayed_user_id(), $meta_key, $value );
    243                 }
     241                bp_update_user_meta( (int) bp_displayed_user_id(), $key, $value );
    244242            }
    245243        }
Note: See TracChangeset for help on using the changeset viewer.