Merge pull request #14999 from demeritcowboy/activityTName-1116
[civicrm-core.git] / CRM / Core / DAO.php
index 18885be3eabc8c5ec2fab5e047d99b3307092e3a..8693a2e4eaf78fc9cf6f72ff42c4b17f7f1ad0d9 100644 (file)
@@ -1508,7 +1508,7 @@ FROM   civicrm_domain
    * @return string
    * @throws Exception
    */
-  public static function composeQuery($query, $params, $abort = TRUE) {
+  public static function composeQuery($query, $params = [], $abort = TRUE) {
     $tr = [];
     foreach ($params as $key => $item) {
       if (is_numeric($key)) {