Ticket #4441: setting_action_dont_duplicate_user_meta_key.diff
| File setting_action_dont_duplicate_user_meta_key.diff, 595 bytes (added by , 14 years ago) |
|---|
-
bp-settings/bp-settings-actions.php
242 242 243 243 if ( isset( $_POST['notifications'] ) ) { 244 244 foreach ( (array) $_POST['notifications'] as $key => $value ) { 245 if ( $meta_key = bp_get_user_meta_key( $key ) ) {246 bp_update_user_meta( (int) bp_displayed_user_id(), $ meta_key, $value );247 }245 246 bp_update_user_meta( (int) bp_displayed_user_id(), $key, $value ); 247 248 248 } 249 249 } 250 250
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)