Skip to content
Snippets Groups Projects
Commit 3c8bae4b authored by Carsten  Rose's avatar Carsten Rose
Browse files

load.php: Dynamic Update has been broken since implementing of...

load.php: Dynamic Update has been broken since implementing of 'element-update' (#3180). Now both methods, 'element-update' and 'form-update' should be fine.
parent 969ba3db
No related branches found
No related tags found
No related merge requests found
......@@ -65,8 +65,9 @@ try {
$answer[API_STATUS] = API_ANSWER_STATUS_SUCCESS;
$answer[API_MESSAGE] = 'load: success';
$answer[API_FORM_UPDATE] = $data;
$answer[API_ELEMENT_UPDATE] = $data[API_ELEMENT_UPDATE];
unset($data[API_ELEMENT_UPDATE]);
unset($answer[API_FORM_UPDATE][API_ELEMENT_UPDATE]);
} catch (qfq\UserFormException $e) {
$answer[API_MESSAGE] = $e->formatMessage();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment