From 3611044fc74fcdeb3cc15199a25e48272bbd80b9 Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Wed, 20 May 2015 15:16:08 +0100 Subject: [PATCH] CRM-16529 Remove repeated table names in error --- CRM/Financial/BAO/FinancialType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Financial/BAO/FinancialType.php b/CRM/Financial/BAO/FinancialType.php index 237861a9ab..90fd35c49e 100644 --- a/CRM/Financial/BAO/FinancialType.php +++ b/CRM/Financial/BAO/FinancialType.php @@ -135,7 +135,7 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType { $tables = array(); foreach ($occurrences as $occurrence) { $className = get_class($occurrence); - if (!in_array($className, $ignoreTables)) { + if (!in_array($className, $tables) && !in_array($className, $ignoreTables)) { $tables[] = $className; } } -- 2.25.1