Skip to content

Commit

Permalink
remove uneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-samuel committed Oct 25, 2024
1 parent 475cf53 commit d31a45f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/controllers/miq_ae_class_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2318,9 +2318,7 @@ def fields_get_form_vars
fld[field] = params[var_name.to_sym] if params[var_name.to_sym]
elsif field == "default_value"
fld[field] = params[field_name] if params[field_name]
if fld['datatype'] == 'password'
fld[field] = params["fields_password_value_#{i}".to_sym] if params["fields_password_value_#{i}".to_sym]
end
fld[field] = params["fields_password_value_#{i}".to_sym] if params["fields_password_value_#{i}".to_sym]
elsif params[field_name]
fld[field] = params[field_name]
end
Expand Down

0 comments on commit d31a45f

Please sign in to comment.