From d6be526c0f76256c531f105e2248f0185a7b483e Mon Sep 17 00:00:00 2001 From: Nathaniel Woodland Date: Thu, 30 Nov 2023 09:41:31 -0500 Subject: [PATCH] fix: removed single quotes around variable, which was preventing vote information from being saving --- .../src/Plugin/OpenlegImportProcessor/Agendas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/modules/custom/nys_openleg_imports/src/Plugin/OpenlegImportProcessor/Agendas.php b/web/modules/custom/nys_openleg_imports/src/Plugin/OpenlegImportProcessor/Agendas.php index c83c4f9b25..b1afcc1749 100644 --- a/web/modules/custom/nys_openleg_imports/src/Plugin/OpenlegImportProcessor/Agendas.php +++ b/web/modules/custom/nys_openleg_imports/src/Plugin/OpenlegImportProcessor/Agendas.php @@ -200,7 +200,7 @@ function ($v) { } foreach (($item->voteInfo->votesList->items ?? []) as $vote) { $name = BillHelper::formatTitle($vote->bill); - if (array_key_exists('$name', $bills)) { + if (array_key_exists($name, $bills)) { $bills[$name]['vote'] = $vote; } }