Skip to content

Commit

Permalink
Merge pull request #86 from teundirectlease/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
dhensby authored May 14, 2021
2 parents 41d8927 + 506fe6c commit f48b623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class SurveyForm extends MultiForm

if ($steps) {
foreach ($steps as $step) {
if($step->class == PersonalDetailsStep::class) {
if($step->ClassName == PersonalDetailsStep::class) {
$member = Member::create();
$data = $step->loadData();

Expand All @@ -424,7 +424,7 @@ class SurveyForm extends MultiForm
}
}

if ($step->class == OrganisationDetailsStep::class) {
if ($step->ClassName == OrganisationDetailsStep::class) {
$organisation = Organisation::create();
$data = $step->loadData();

Expand Down

0 comments on commit f48b623

Please sign in to comment.