mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #7336 from open-sausages/pulls/4.0/the-uncontained-popover-was-powerful
Fix add schema to the "auto" parts request
This commit is contained in:
commit
8425533487
@ -66,7 +66,7 @@ class FormSchema
|
||||
$return = ['id' => $schemaID];
|
||||
|
||||
// Default to schema if not set
|
||||
if ($form && ($wantSchema || empty($schemaParts))) {
|
||||
if ($form && ($wantSchema || empty($schemaParts) || $auto)) {
|
||||
$return['schema'] = $this->getSchema($form);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user