Problem/Motivation

The order balance can be null (it should not but it can) and this module assumes it will always return Price object.

Steps to reproduce

Proposed resolution

Add check on the $balance var and quit early if balance is NULL.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

zaporylie created an issue. See original summary.

zaporylie’s picture

Status: Active » Needs review

  • zaporylie committed ce86bcee on 8.x-1.x
    feat: #3586347 Avoid WSOD when balance is NULL
    
zaporylie’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.