From 95d4473f33d8e2c023fc91ba4d7049e7912b4955 Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Mon, 18 Nov 2013 08:57:28 -0800 Subject: [PATCH] formatting fixes --- CRM/Contact/Form/Search/Custom/Group.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/CRM/Contact/Form/Search/Custom/Group.php b/CRM/Contact/Form/Search/Custom/Group.php index 999a733e80..15278618d0 100644 --- a/CRM/Contact/Form/Search/Custom/Group.php +++ b/CRM/Contact/Form/Search/Custom/Group.php @@ -283,6 +283,7 @@ class CRM_Contact_Form_Search_Custom_Group extends CRM_Contact_Form_Search_Custo $xGroups = 0; } + $sql = "CREATE TEMPORARY TABLE Xg_{$this->_tableName} ( contact_id int primary key) ENGINE=HEAP"; CRM_Core_DAO::executeQuery($sql); @@ -486,15 +487,11 @@ class CRM_Contact_Form_Search_Custom_Group extends CRM_Contact_Form_Search_Custo */ /* - * check the situation and set booleans - */ - + * check the situation and set booleans + */ $Ig = ($iGroups != 0); - $It = ($iTags != 0); - $Xg = ($xGroups != 0); - $Xt = ($xTags != 0); //PICK UP FROM HERE @@ -503,8 +500,8 @@ class CRM_Contact_Form_Search_Custom_Group extends CRM_Contact_Form_Search_Custo } /* - * Set from statement depending on array sel - */ + * Set from statement depending on array sel + */ $whereitems = array(); foreach (array('Ig', 'It') as $inc) { if ($this->_andOr == 1) { -- 2.25.1