CRM-13324 : code improvement
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Tue, 3 Sep 2013 12:27:31 +0000 (17:57 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Tue, 3 Sep 2013 12:27:31 +0000 (17:57 +0530)
----------------------------------------
* CRM-13324: Reserve respondent process of survey not working if contacts are filter by particular group, and all records are selected for reserving.
  http://issues.civicrm.org/jira/browse/CRM-13324

CRM/Contact/BAO/Query.php

index 7df06fbef8d744cab58efbc7bb82d116ed975791..63e693c6d64a73d906b0750230a60169a0992433 100644 (file)
@@ -1303,9 +1303,6 @@ class CRM_Contact_BAO_Query {
             $this->_element['group_contact_id'] = 1;
             $this->_select['status'] = "$tbName.status as status";
             $this->_element['status'] = 1;
-            if (empty($this->_tables[$tbName])) {
-              $this->_tables[$tbName] = 1;
-            }
           }
         }
         $this->_useGroupBy = TRUE;