Commit 21711130 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Merge branch 'master' into FixUnitTests

parents d68140f3 f6fafb87
Pipeline #1221 passed with stage
in 1 minute and 32 seconds
......@@ -2710,9 +2710,15 @@ abstract class AbstractBuildForm {
$queryStringArray[F_MODE_GLOBAL] = $this->formSpec[F_MODE];
}
// In case the subrecord FE is set to 'readonly': subforms will be called with formModeGlobal=readonly
if ($formElement[FE_MODE] == FE_MODE_READONLY) {
$queryStringArray[F_MODE_GLOBAL] = FE_MODE_READONLY;
}
// Add custom query parameter
if (isset($formElement[SUBRECORD_PARAMETER_DETAIL])) {
$detailParam = KeyValueStringParser::parse($formElement[SUBRECORD_PARAMETER_DETAIL]);
foreach ($detailParam as $src => $dest) {
// Constants
if ($src[0] == '&') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment