From 27bd58efdb610d3558e0b889424812408be7ca5f Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 2 Feb 2022 02:56:19 -0800 Subject: [PATCH] Civi::queue() - Tweak prioritization of fields per discussion --- Civi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi.php b/Civi.php index dfd8d9004b..3c9d71f929 100644 --- a/Civi.php +++ b/Civi.php @@ -124,7 +124,7 @@ class Civi { */ public static function queue(string $name, array $params = []): CRM_Queue_Queue { $defaults = ['reset' => FALSE, 'is_persistent' => TRUE]; - $params = array_merge($defaults, ['name' => $name], $params); + $params = array_merge($defaults, $params, ['name' => $name]); return CRM_Queue_Service::singleton()->create($params); } -- 2.25.1