Skip to content

Commit

Permalink
Merge pull request #24 from coopsymbiotic/localizable
Browse files Browse the repository at this point in the history
Fix for localized installation
  • Loading branch information
agileware-fj committed Jun 20, 2021
2 parents c69227e + 5dc6602 commit 35e9994
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CRM/Civiquickbooks/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ class CRM_Civiquickbooks_Invoice {
protected $contribution_status_by_value;

public function __construct() {
$this->contribution_status = civicrm_api3('Contribution', 'getoptions', array('field' => 'contribution_status_id'));
$this->contribution_status = civicrm_api3('Contribution', 'getoptions', [
'field' => 'contribution_status_id',
'context' => 'validate',
]);

$this->contribution_status = $this->contribution_status['values'];

Expand Down

0 comments on commit 35e9994

Please sign in to comment.