Skip to content

Commit

Permalink
Civi::queue() - Tweak prioritization of fields per discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Feb 2, 2022
1 parent 688e3d8 commit 27bd58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Civi.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public static function paths() {
*/
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);
}

Expand Down

0 comments on commit 27bd58e

Please sign in to comment.