mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 01:04:09 +02:00
parent
1abd1d28bc
commit
9c592ead23
@ -278,6 +278,10 @@ class Loader
|
|||||||
if (false !== $match) {
|
if (false !== $match) {
|
||||||
return $haystack[$match];
|
return $haystack[$match];
|
||||||
}
|
}
|
||||||
|
if (count($this->lastSuggestions) === 1) {
|
||||||
|
$lastSuggestions = array_values($this->lastSuggestions);
|
||||||
|
return $lastSuggestions[0];
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user