Skip to:
Content

BuddyPress.org

Changeset 6361


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

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

File:
1 edited

Legend:

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

    r6317 r6361  
    242242    if ( isset( $_POST['notifications'] ) ) {
    243243        foreach ( (array) $_POST['notifications'] as $key => $value ) {
    244             if ( $meta_key = bp_get_user_meta_key( $key ) ) {
    245                 bp_update_user_meta( (int) bp_displayed_user_id(), $meta_key, $value );
    246             }
     244            bp_update_user_meta( (int) bp_displayed_user_id(), $key, $value );
    247245        }
    248246    }
Note: See TracChangeset for help on using the changeset viewer.