Merge pull request #86 from teundirectlease/patch-1

Update README.md
This commit is contained in:
Daniel Hensby 2021-05-14 11:21:33 +01:00 committed by GitHub
commit f48b6234ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
@ -424,7 +424,7 @@ class SurveyForm extends MultiForm
}
}
if ($step->class == OrganisationDetailsStep::class) {
if ($step->ClassName == OrganisationDetailsStep::class) {
$organisation = Organisation::create();
$data = $step->loadData();