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:
Damian Mooyman 2017-09-05 14:01:12 +12:00 committed by GitHub
commit 8425533487

View File

@ -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);
}