mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 14:58:43 +02:00
✅ Make unit tests working
This commit is contained in:
@@ -114,7 +114,7 @@ class ArrayChoiceList implements ChoiceListInterface
|
||||
$choices = [];
|
||||
|
||||
foreach ($values as $i => $givenValue) {
|
||||
if (\array_key_exists($givenValue, $this->choices)) {
|
||||
if (\array_key_exists($givenValue ?? '', $this->choices)) {
|
||||
$choices[$i] = $this->choices[$givenValue];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user