Fix: Make country name filter failure tolerant
This commit is contained in:
@@ -36,7 +36,7 @@ class AppRuntime implements RuntimeExtensionInterface
|
||||
return sprintf('Offizielle %slehrer*innenlizenz', ucfirst(strtolower($type)));
|
||||
}
|
||||
|
||||
public function bpnCountryLabel(string $token, string $property = 'name'): string
|
||||
public function bpnCountryLabel(?string $token, string $property = 'name'): string
|
||||
{
|
||||
$country = $this->countries->get($token);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user