diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index 18885be3eabc..8693a2e4eaf7 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -1508,7 +1508,7 @@ public static function &singleValueQuery( * @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)) {