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

Fix getId() on bool when primary billing address is null #1336

Merged

Conversation

Sekiphp
Copy link
Contributor

@Sekiphp Sekiphp commented Dec 10, 2020

Description (*)

image

If I have $primaryShipping and I do not have $primaryBilling, code ends with Fatal error: Call to a member function getId() on bool

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)

@github-actions github-actions bot added the Component: Customer Relates to Mage_Customer label Dec 10, 2020
@sreichel sreichel added the bug label Dec 27, 2020
@sreichel sreichel merged commit cd985b8 into OpenMage:1.9.4.x Jan 14, 2021
@sreichel sreichel added this to the Release 19.4.10 / 20.0.6 milestone Jan 14, 2021
@github-actions
Copy link
Contributor

Unit Test Results

1 files  1 suites   0s ⏱️
0 tests 0 ✔️ 0 💤 0 ❌
2 runs  2 ✔️ 0 💤 0 ❌

Results for commit cd985b8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Component: Customer Relates to Mage_Customer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants