mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
Update README.md
This commit is contained in:
parent
3d5995526c
commit
0d7eb7b83f
@ -1,6 +1,5 @@
|
||||
# MultiForm Module
|
||||
|
||||
[![Build Status](https://travis-ci.com/silverstripe/silverstripe-multiform.svg?branch=master)](https://travis-ci.org/silverstripe/silverstripe-multiform)
|
||||
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/silverstripe/silverstripe-multiform.svg)](https://scrutinizer-ci.com/g/silverstripe/silverstripe-multiform/?branch=master)
|
||||
[![Code Coverage](https://img.shields.io/codecov/c/github/silverstripe/silverstripe-multiform.svg)](https://codecov.io/gh/silverstripe/silverstripe-multiform)
|
||||
|
||||
@ -383,10 +382,9 @@ class SurveyForm extends MultiForm
|
||||
{
|
||||
parent::finish($data, $form);
|
||||
|
||||
$steps = DataObject::get(
|
||||
MultiFormStep::class,
|
||||
"SessionID = {$this->session->ID}"
|
||||
);
|
||||
$steps = MultiFormStep::get()->filter([
|
||||
"SessionID" => $this->session->ID
|
||||
]);
|
||||
|
||||
if ($steps) {
|
||||
foreach ($steps as $step) {
|
||||
|
Loading…
Reference in New Issue
Block a user