Compare commits
1 commit
master
...
feature/vi
Author | SHA1 | Date | |
---|---|---|---|
|
6544a72034 |
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class ProgressViewHelper extends AbstractViewHelper
|
|||
//handling famous off by one
|
||||
$activeStep -= $offset;
|
||||
//make sure our array index is numeric
|
||||
$links = \array_values($links);
|
||||
$links = \array_values((array)$links);
|
||||
if (!$linkCount) {
|
||||
$linkCount = \count($links);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue