Skip to content
Snippets Groups Projects
Commit 5bbe81d6 authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

[BUGFIX] no finishers -> form definition not saved

fix an issue that was introduced in my previous commit ac5026b5, where i moved the parent:saveFormAction to the bottom of our overriden saveFormAction, in order to save modified values back to the form defitinion. if a form has none of our finishers attached, the action is returns without calling the parentAction.
parent 6dadf0f2
No related branches found
No related tags found
1 merge request!24Feature 2251 finisher labels
......@@ -71,6 +71,8 @@ class FormEditorController extends \TYPO3\CMS\Form\Controller\FormEditorControll
// immediately exit when no finisher is defined (that means no sgmail integration anyway)
if (!$formDefinition['finishers']) {
/** @noinspection PhpInternalEntityUsedInspection */
parent::saveFormAction($formPersistenceIdentifier, $formDefinition);
return;
}
......
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