diff --git a/app/helpers/epp/contacts_helper.rb b/app/helpers/epp/contacts_helper.rb index 0dfe0d5f8..bcce06009 100644 --- a/app/helpers/epp/contacts_helper.rb +++ b/app/helpers/epp/contacts_helper.rb @@ -100,7 +100,7 @@ module Epp::ContactsHelper ## info def validate_contact_info_request # and process @ph = params_hash['epp']['command']['info']['info'] - xml_attrs_present?(@ph, [['id']]) + return false unless xml_attrs_present?(@ph, [['id']]) @contact = find_contact return false unless @contact return true if current_epp_user.registrar == @contact.registrar || xml_attrs_present?(@ph, [%w(authInfo pw)])