Ticket #6707: 6707.01.patch
| File 6707.01.patch, 472 bytes (added by , 11 years ago) |
|---|
-
src/bp-settings/bp-settings-actions.php
305 305 306 306 if ( isset( $_POST['notifications'] ) ) { 307 307 foreach ( (array) $_POST['notifications'] as $key => $value ) { 308 if ( 'no' !== $value ) { 309 $value = 'yes'; 310 } 308 311 bp_update_user_meta( (int) bp_displayed_user_id(), $key, $value ); 309 312 } 310 313 }