git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5594 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-10-15 14:41:30 +00:00
parent 467a47563b
commit 3c0988e250

View File

@@ -336,7 +336,7 @@ class console
if (mb_substr ($val, 0, mb_strlen ($end)) !== $end)
unset ($completeArr[$key]);
}
if (count ($completeArr) === 1 &&
if (count ($completeArr) === 1 &&
($isAssoc && key ($completeArr) !== "" ||
! $isAssoc && reset ($completeArr) !== ""))
{