diff --git a/modules/localgov_workflows_notifications/src/Form/LocalgovServiceContactForm.php b/modules/localgov_workflows_notifications/src/Form/LocalgovServiceContactForm.php index 41eecdc..5edcb29 100644 --- a/modules/localgov_workflows_notifications/src/Form/LocalgovServiceContactForm.php +++ b/modules/localgov_workflows_notifications/src/Form/LocalgovServiceContactForm.php @@ -1,5 +1,7 @@ getValue('user')[0]['target_id']; diff --git a/modules/localgov_workflows_notifications/src/WorkflowNotification.php b/modules/localgov_workflows_notifications/src/WorkflowNotification.php index f3f9624..523b27d 100644 --- a/modules/localgov_workflows_notifications/src/WorkflowNotification.php +++ b/modules/localgov_workflows_notifications/src/WorkflowNotification.php @@ -65,8 +65,8 @@ public function enqueue(ContentEntityInterface $entity, string $type): void { } if ($claimed_items) { - foreach ($claimed_items as $queue_item) { - $queue->releaseItem($queue_item); + foreach ($claimed_items as $claimed_item) { + $queue->releaseItem($claimed_item); } }