Skip to content

Fix for missing isfinnish parameter#27

Open
teliarokaspaulikas wants to merge 2 commits intonet9-oy:masterfrom
teliarokaspaulikas:master
Open

Fix for missing isfinnish parameter#27
teliarokaspaulikas wants to merge 2 commits intonet9-oy:masterfrom
teliarokaspaulikas:master

Conversation

@teliarokaspaulikas
Copy link

Fixes issue #26

Added conditional check for $postal->setIsFinnish($details['Country'] === 'FI') ? '1' : '0' because setFinnish function wrongly uses htmlspecialchars($isFinnish, ENT_COMPAT, "UTF-8"); because when it receives false boolean value, the result of the function is an empty string.

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.

1 participant