From adb480441ddae55cef61ec8ca6f8a3da4f98ace1 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 11 Aug 2016 17:05:30 +1000 Subject: [PATCH] Fix array index --- CRM/Core/PseudoConstant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/PseudoConstant.php b/CRM/Core/PseudoConstant.php index 8e4e51b000..018e8792e0 100644 --- a/CRM/Core/PseudoConstant.php +++ b/CRM/Core/PseudoConstant.php @@ -1806,7 +1806,7 @@ WHERE id = %1 'name' => 'Sales Tax Account is', )); if ($option['count'] !== 0) { - $where = 'AND efa.account_relationship IN (' . $option['values']['value'] . ' )'; + $where = 'AND efa.account_relationship IN (' . $option['values'][0]['value'] . ' )'; } else { $where = ''; -- 2.25.1