console : shortestIdenticalValues must use the keys if associated entries are provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5569 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -369,7 +369,11 @@ class console
|
|||||||
else
|
else
|
||||||
echo "$val\n";
|
echo "$val\n";
|
||||||
}
|
}
|
||||||
$addChars = $this->shortestIdenticalValues ($completeArr);
|
if ($isAssoc)
|
||||||
|
$addChars = $this->shortestIdenticalValues (
|
||||||
|
array_keys ($completeArr));
|
||||||
|
else
|
||||||
|
$addChars = $this->shortestIdenticalValues ($completeArr);
|
||||||
if ($addChars === "")
|
if ($addChars === "")
|
||||||
$addChars = $end;
|
$addChars = $end;
|
||||||
if ($start !== "")
|
if ($start !== "")
|
||||||
|
|||||||
Reference in New Issue
Block a user