Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2010 12:20:02 AM (14 years ago)
Author:
djpaul
Message:

Fixes even more WP_DEBUG warnings.

File:
1 edited

Legend:

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

    r3352 r3369  
    115115    $bp_settings_updated = false;
    116116
    117     if ( $_POST['submit'] ) {
     117    if ( isset( $_POST['submit'] ) ) {
    118118        check_admin_referer('bp_settings_notifications');
    119119
    120         if ( $_POST['notifications'] ) {
     120        if ( isset( $_POST['notifications'] ) ) {
    121121            foreach ( (array)$_POST['notifications'] as $key => $value ) {
    122122                update_user_meta( (int)$current_user->id, $key, $value );
Note: See TracChangeset for help on using the changeset viewer.