From f9e4272ddec198201c98fdfd03cd3cbf75eed47b Mon Sep 17 00:00:00 2001 From: Aurelia Fenderson-Peters Date: Wed, 21 May 2025 10:40:33 -0500 Subject: [PATCH] County lookup only requires state This alters the county lookup API call to only require that the "state" query parameter be populated --- application/controllers/Lookup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Lookup.php b/application/controllers/Lookup.php index d03e2a206..048764868 100644 --- a/application/controllers/Lookup.php +++ b/application/controllers/Lookup.php @@ -202,7 +202,7 @@ class Lookup extends CI_Controller { public function get_county() { $json = []; - if(!empty($this->security->xss_clean($this->input->get("query")))) { + if(!empty($this->security->xss_clean($this->input->get("state")))) { $county = $this->security->xss_clean($this->input->get("state")); $cleanedcounty = explode('(', $county); $cleanedcounty = trim($cleanedcounty[0]);