Allow case insensitive ward-name match.
This commit is contained in:
@@ -111,7 +111,8 @@ if (isset($config["survey"])) {
|
||||
|
||||
<?php
|
||||
$groupCandidates = array_filter($candidates, function ($candidate) use ($groupName, $propertyOnCandidate) {
|
||||
return isset($candidate[$propertyOnCandidate]) && $candidate[$propertyOnCandidate] === $groupName;
|
||||
return isset($candidate[$propertyOnCandidate]) &&
|
||||
strtolower($candidate[$propertyOnCandidate]) === strtolower($groupName);
|
||||
});
|
||||
|
||||
usort($groupCandidates, function($a, $b) {
|
||||
|
||||
Reference in New Issue
Block a user