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

FillStoreForm.php: SIP Parameter without a corresponding FE have not been...

FillStoreForm.php: SIP Parameter without a corresponding FE have not been saved in the record: fixed
parent cb04c8b7
......@@ -78,6 +78,22 @@ class FillStoreForm {
// Retrieve SIP vars, e.g. for HIDDEN elements.
$sipValues = $this->store->getStore(STORE_SIP);
// Copy SIP Values; not necessarily defines as FormElements.
foreach ($sipValues as $key => $value) {
switch ($key) {
case SIP_SIP:
case SIP_RECORD_ID:
case SIP_FORM:
case SIP_TABLE:
case SIP_URLPARAM:
case 'id':
break;
default:
$newValues[$key] = $value;
break;
}
}
// Iterate over all formelements. Sanatize values. Built an assoc array $newValues.
foreach ($this->feSpecNative AS $formElement) {
......
Supports Markdown
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