Changeset 4372 for trunk/bp-settings/bp-settings-actions.php
- Timestamp:
- 05/16/2011 08:54:02 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-settings/bp-settings-actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-settings/bp-settings-actions.php
r4261 r4372 117 117 if ( isset( $_POST['notifications'] ) ) { 118 118 foreach ( (array)$_POST['notifications'] as $key => $value ) { 119 update_user_meta( (int)$bp->displayed_user->id, $key, $value ); 119 if ( $meta_key = bp_get_user_meta_key( $key ) ) 120 update_user_meta( (int)$bp->displayed_user->id, $meta_key, $value ); 120 121 } 121 122 }
Note: See TracChangeset
for help on using the changeset viewer.