Merge remote-tracking branch 'origin/develop' into feature/flow-8.3
This commit is contained in:
commit
e0ff92c3fa
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ class ProgressViewHelper extends AbstractViewHelper
|
|||
//handling famous off by one
|
||||
$activeStep -= $offset;
|
||||
//make sure our array index is numeric
|
||||
if (\is_iterable($links)) {
|
||||
$links = \iterator_to_array($links);
|
||||
}
|
||||
$links = \array_values($links);
|
||||
if (!$linkCount) {
|
||||
$linkCount = \count($links);
|
||||
|
|
Loading…
Add table
Reference in a new issue