- fixed roles fields;

This commit is contained in:
nikitozzzzzzz
2018-06-18 15:40:30 +03:00
parent b7f075843d
commit e66e595ba9
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -1661,7 +1661,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
if ( ! in_array( $key, $this->update_user_keys ) ) {
update_user_meta( $this->id, $key, $value );
} else {
$args[$key] = esc_attr( $changes['role_radio'] );
$args[ $key ] = esc_attr( $changes[ $key ] );
}
}