From 89f0019fe0bbf891aaf570f48efcf95c5a2f071f Mon Sep 17 00:00:00 2001 From: francescbassas Date: Wed, 27 Jul 2016 16:55:57 +0200 Subject: [PATCH] Fixes Jenkins warnings --- CRM/Contact/BAO/ContactType.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/BAO/ContactType.php b/CRM/Contact/BAO/ContactType.php index d9193f9ba4..a8d318f1ca 100644 --- a/CRM/Contact/BAO/ContactType.php +++ b/CRM/Contact/BAO/ContactType.php @@ -904,8 +904,8 @@ WHERE extends = %1 AND " . implode(" OR ", $subTypeClause); CRM_Core_DAO::dropTriggers($tableName); foreach ($subtypesToPreserve as $subtypeToPreserve) { - $subtypeToPreserve = CRM_Utils_Type::escape($subtypeToPreserve, 'String'); - $subtypesToPreserveClause[] = "(civicrm_contact.contact_sub_type NOT LIKE '%" . CRM_Core_DAO::VALUE_SEPARATOR . $subtypeToPreserve . CRM_Core_DAO::VALUE_SEPARATOR . "%')"; + $subtypeToPreserve = CRM_Utils_Type::escape($subtypeToPreserve, 'String'); + $subtypesToPreserveClause[] = "(civicrm_contact.contact_sub_type NOT LIKE '%" . CRM_Core_DAO::VALUE_SEPARATOR . $subtypeToPreserve . CRM_Core_DAO::VALUE_SEPARATOR . "%')"; } $subtypesToPreserveClause = implode(' AND ', $subtypesToPreserveClause); -- 2.25.1