Skip to content

Commit

Permalink
Merge pull request #243 from jayesbe/fix-steps-flow
Browse files Browse the repository at this point in the history
Fix steps flow
(This PR was squashed before being merged - closes #243.)
  • Loading branch information
craue committed Apr 20, 2016
2 parents 960e233 + bac8833 commit 551482e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Form/FormFlow.php
Original file line number Diff line number Diff line change
Expand Up @@ -569,13 +569,7 @@ protected function determineCurrentStepNumber() {
*/
protected function refineCurrentStepNumber($refinedStepNumber) {
foreach ($this->getSteps() as $step) {
$stepSkippedOld = $step->isSkipped();

$step->evaluateSkipping($refinedStepNumber, $this);

if (!$stepSkippedOld && $step->isSkipped()) {
return $this->refineCurrentStepNumber($refinedStepNumber);
}
}

return $refinedStepNumber;
Expand Down

0 comments on commit 551482e

Please sign in to comment.