diff --git a/modules/candidate_parameters/php/candidatequeryengine.class.inc b/modules/candidate_parameters/php/candidatequeryengine.class.inc index 31a7e4c594e..a64b6057de4 100644 --- a/modules/candidate_parameters/php/candidatequeryengine.class.inc +++ b/modules/candidate_parameters/php/candidatequeryengine.class.inc @@ -55,7 +55,7 @@ class CandidateQueryEngine extends \LORIS\Data\Query\SQLQueryEngine "Demographics", "Candidate Demographics", ); - $sexList = \Utility::getSexList(); + $sexList = array_keys(\Utility::getSexList()); $t = new Enumeration(...$sexList); $demographics = $demographics->withItems( [