Remove notice

This commit is contained in:
champsupertramp
2016-03-06 23:51:16 +08:00
parent 28049e4430
commit aaccd51164
+1 -1
View File
@@ -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"';
}