Skip to content

Commit 99fbcb0

Browse files
API Stop using deprecated LeftAndMain::SCHEMA_HEADER const (#1374)
1 parent 4e28aa2 commit 99fbcb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/Control/UserDefinedFormAdmin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function confirmfolderformschema(HTTPRequest $request)
139139
}
140140

141141
// create the schema response
142-
$parts = $this->getRequest()->getHeader(static::SCHEMA_HEADER);
142+
$parts = $this->getRequest()->getHeader(FormSchema::SCHEMA_HEADER);
143143
$schemaID = $this->getRequest()->getURL();
144144
$data = FormSchema::singleton()->getMultipartSchema($parts, $schemaID, $form);
145145

0 commit comments

Comments
 (0)