This commit is contained in:
Belle Aerni authored and GitHub committed 2022-10-20 19:00:09 +02:00
1 parent 5c6a76bd06
commit 88f1b9996b
1 file changed
+1 -1
+1 -1
View File
@@ -932,7 +932,7 @@ class Service
if (isset($config['countries'])) {
preg_match_all('#([A-Z]{2})=(.+)#', $config['countries'], $matches);
if (isset($matches[1]) && !empty($matches[1]) && isset($matches[2]) && !empty($matches[2])) {
if (count($matches[1] == count($matches[2]))) {
if (count($matches[1]) == count($matches[2])) {
$countries = array_combine($matches[1], $matches[2]);
}
}