Actions
Bug #7248
closedgetInvoiceAddressField of cbpaidUserExtension not accounting for empty user object
Description
When calling getInvoiceAddressField it's calling CBuser::getInstance( (int) $this->id )->getUserData() without checking first if the getInstance is null before calling getUserData. The second variable of getInstance should just be set to false so it can't return null and always returns a CBuser instance or the usage needs improved to account for null response.
Updated by krileon over 6 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Fixed in MR !135
Updated by beat almost 6 years ago
- Project changed from 2 to CB Paid Subscriptions
Updated by beat almost 6 years ago
- Target version changed from CbSubs 4.4.1 to 4.3.1
Actions