mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Issue: Undefined Index error on divider element in um-actions-profile.php,
Link: https://secure.helpscout.net/conversation/924073619/32732?folderId=1651531
This commit is contained in:
@@ -280,9 +280,9 @@ function um_user_edit_profile( $args ) {
|
||||
|
||||
|
||||
//validation of correct values from options in wp-admin
|
||||
$stripslashes = $args['submitted'][ $key ];
|
||||
if ( is_string( $stripslashes ) ) {
|
||||
$stripslashes = stripslashes( $stripslashes );
|
||||
$stripslashes = '';
|
||||
if ( isset( $args['submitted'][ $key ] ) && is_string( $args['submitted'][ $key ] ) ) {
|
||||
$stripslashes = stripslashes( $args['submitted'][ $key ] );
|
||||
}
|
||||
if ( in_array( $array['type'], array( 'select' ) ) &&
|
||||
! empty( $array['options'] ) && ! empty( $stripslashes ) &&
|
||||
|
||||
Reference in New Issue
Block a user