From 86c3a2c181ed816799c5d0c470f437b5712be7b9 Mon Sep 17 00:00:00 2001 From: Francis Whittle Date: Mon, 16 Oct 2023 11:46:34 +1100 Subject: [PATCH] CIVIQBO-107 Fix syntax error in CRM_Civiquickbooks_Page_AJAX --- CRM/Civiquickbooks/Page/AJAX.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Civiquickbooks/Page/AJAX.php b/CRM/Civiquickbooks/Page/AJAX.php index d847b15..3dc44e6 100644 --- a/CRM/Civiquickbooks/Page/AJAX.php +++ b/CRM/Civiquickbooks/Page/AJAX.php @@ -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);