Skip to content

Commit

Permalink
CIVIQBO-107 Fix syntax error in CRM_Civiquickbooks_Page_AJAX
Browse files Browse the repository at this point in the history
  • Loading branch information
agileware-fj committed Oct 16, 2023
1 parent e33c462 commit 86c3a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Civiquickbooks/Page/AJAX.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function invoiceSyncErrors() {
$contributions = _civiquickbooks_getContactContributions($contactid);
$invoices = _civiquickbooks_getErroredInvoicesOfContributions($contributions);
foreach ($invoices['values'] as $invoice) {
$syncerrors = array_merge($syncerrors, json_decode($invoice['error_data"], TRUE));
$syncerrors = array_merge($syncerrors, json_decode($invoice['error_data'], TRUE));
}
}
CRM_Utils_JSON::output($syncerrors);
Expand Down

0 comments on commit 86c3a2c

Please sign in to comment.