Compare commits

...

1 commit

View file

@ -57,7 +57,7 @@ class ProgressViewHelper extends AbstractViewHelper
//handling famous off by one //handling famous off by one
$activeStep -= $offset; $activeStep -= $offset;
//make sure our array index is numeric //make sure our array index is numeric
$links = \array_values($links); $links = \array_values((array)$links);
if (!$linkCount) { if (!$linkCount) {
$linkCount = \count($links); $linkCount = \count($links);
} }