mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Remove notice
This commit is contained in:
@@ -103,10 +103,11 @@
|
||||
|
||||
foreach ( $_POST as $key => $val ) {
|
||||
if( strstr( $key, "username_b") ){
|
||||
$user = $val;
|
||||
$user = trim( $val );
|
||||
}
|
||||
}
|
||||
if ( empty( trim( $user ) ) ) {
|
||||
|
||||
if ( empty( $user ) ) {
|
||||
$ultimatemember->form->add_error('username_b', __('Please provide your username or email','ultimatemember') );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user