mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix add schema to the "auto" parts request
This commit is contained in:
parent
6f7b0d9ae0
commit
afda58c515
@ -66,7 +66,7 @@ class FormSchema
|
|||||||
$return = ['id' => $schemaID];
|
$return = ['id' => $schemaID];
|
||||||
|
|
||||||
// Default to schema if not set
|
// Default to schema if not set
|
||||||
if ($form && ($wantSchema || empty($schemaParts))) {
|
if ($form && ($wantSchema || empty($schemaParts) || $auto)) {
|
||||||
$return['schema'] = $this->getSchema($form);
|
$return['schema'] = $this->getSchema($form);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user