mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Remove notice
This commit is contained in:
+1
-1
@@ -615,7 +615,7 @@ class UM_Fields {
|
||||
|
||||
$array['disabled'] = '';
|
||||
|
||||
if ( $key == 'user_login' && $this->set_mode == 'account' ) {
|
||||
if ( $key == 'user_login' && isset( $this->set_mode ) && $this->set_mode == 'account' ) {
|
||||
$array['disabled'] = 'disabled="disabled"';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user