- remove wrong code

This commit is contained in:
ashubawork
2023-05-08 21:28:22 +03:00
parent 35f9aac031
commit 2c222e34b8
+1 -2
View File
@@ -2077,8 +2077,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
global $_um_profile_id;
if ( isset( $data['is_block'] ) && 1 === (int) $data['is_block'] ) {
$_um_profile_id = get_current_user_id();
$form_suffix = '';
$form_suffix = '';
} else {
$form_suffix = UM()->form()->form_suffix;
}