From 8ed93e753c3a2ba0870d7cd55ca3ee76492969c8 Mon Sep 17 00:00:00 2001 From: scardinius Date: Thu, 2 Feb 2017 17:08:53 +0100 Subject: [PATCH] CRM-19958 Fix invalid name of variable subtype --- CRM/Contact/BAO/ContactType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/ContactType.php b/CRM/Contact/BAO/ContactType.php index a73acc4ef6..2efb377464 100644 --- a/CRM/Contact/BAO/ContactType.php +++ b/CRM/Contact/BAO/ContactType.php @@ -842,7 +842,7 @@ LIMIT 1"; $customSet = $subTypeClause = array(); foreach ($subtypeSet as $subtype) { $subtype = CRM_Utils_Type::escape($subtype, 'String'); - $subType = CRM_Core_DAO::VALUE_SEPARATOR . $subtype . CRM_Core_DAO::VALUE_SEPARATOR; + $subtype = CRM_Core_DAO::VALUE_SEPARATOR . $subtype . CRM_Core_DAO::VALUE_SEPARATOR; $subTypeClause[] = "extends_entity_column_value LIKE '%{$subtype}%' "; } $query = "SELECT table_name -- 2.25.1