Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instantiate $ids to prevent a potential error with clean administrations #12

Merged
merged 1 commit into from Nov 14, 2019
Merged

Instantiate $ids to prevent a potential error with clean administrations #12

merged 1 commit into from Nov 14, 2019

Conversation

nicksulkers
Copy link
Contributor

If implemented on a clean moneybird administration $ids would assume a value of null. This would then trigger a TypeError when trying to call $moneybird->FinancialMutation()->getVersions();
By ensuring $ids is a valid array, this is prevented.

If implemented on a clean moneybird administration $ids would assume a value of null. This would then trigger a TypeError when trying to call $moneybird->FinancialMutation()->getVersions();
By ensuring $ids is a valid array, this is prevented.
@ju5t ju5t changed the base branch from master to develop November 14, 2019 07:29
@ju5t
Copy link
Contributor

ju5t commented Nov 14, 2019

Good catch, thanks!

@ju5t ju5t merged commit 9d9d8cd into sensson:develop Nov 14, 2019
@ghost ghost mentioned this pull request Apr 10, 2022
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.

None yet

2 participants