mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-04 14:13:11 -04:00
Merge branch 'bugfix/icingacli-command-and-action-shortcuts-have-been-broken-11120'
fixes #11120
This commit is contained in:
commit
2e400ba654
1 changed files with 4 additions and 0 deletions
|
|
@ -278,6 +278,10 @@ class Loader
|
|||
if (false !== $match) {
|
||||
return $haystack[$match];
|
||||
}
|
||||
if (count($this->lastSuggestions) === 1) {
|
||||
$lastSuggestions = array_values($this->lastSuggestions);
|
||||
return $lastSuggestions[0];
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue