CRM-17645 - Ensure utils file is included
authorColeman Watts <coleman@civicrm.org>
Thu, 21 Jan 2016 02:08:30 +0000 (21:08 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 21 Jan 2016 02:08:30 +0000 (21:08 -0500)
CRM/Utils/SQL.php

index dd878bf3b82b3c66c015caf53eb74e821e2a4c9a..ed2db992caad6efa1ef1272e2e9718a537a13887 100644 (file)
@@ -41,6 +41,7 @@ class CRM_Utils_SQL {
    * @return array
    */
   public static function mergeSubquery($entity, $joinColumn = 'id') {
+    require_once 'api/v3/utils.php';
     $baoName = _civicrm_api3_get_BAO($entity);
     $bao = new $baoName();
     $clauses = $subclauses = array();