Skip to content

Refactor: Remove redundant address1 formatting logic in import.php#390

Open
DaniNC wants to merge 2 commits into
masterfrom
INTGRTNS-231-WHMCS-domain-contact-addresses-getting-mangled
Open

Refactor: Remove redundant address1 formatting logic in import.php#390
DaniNC wants to merge 2 commits into
masterfrom
INTGRTNS-231-WHMCS-domain-contact-addresses-getting-mangled

Conversation

@DaniNC

@DaniNC DaniNC commented Jun 18, 2025

Copy link
Copy Markdown
Contributor
  • Removed fallback logic that rebuilt address1 from street for US contacts.
  • Address formatting is now consistently handled in ApiHelper.php.
  • Prevents duplicated logic and potential address inconsistencies.
  • Improves clarity and maintainability of the import process.

Related to INTGRTNS-231.

- Removed fallback logic that rebuilt address1 from street for US contacts.
- Address formatting is now consistently handled in ApiHelper.php.
- Prevents duplicated logic and potential address inconsistencies.
- Improves clarity and maintainability of the import process.

Related to INTGRTNS-231.
@DaniNC DaniNC self-assigned this Jun 18, 2025
Comment thread modules/registrars/openprovider/OpenProvider/API/Customer.php Outdated
@DaniNC DaniNC requested a review from jakub-sperczynski June 25, 2025 09:38

@jakub-sperczynski jakub-sperczynski left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the PHP side it looks ok.

@avishka-ra avishka-ra changed the base branch from version-8.1 to master March 30, 2026 08:54
@avishka-ra avishka-ra removed the request for review from sapillai March 30, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants