Actions
Bug #99211
closedOverriding saveAndClose in NewContentElementWizard to false does not work as expected
Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2022-11-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Using 'false' doesn't have any impact.
Using '0' works and disables the behaviour.
Issue seems to be
$itemConf['saveAndClose'] = (bool)$itemConf['saveAndClose'];
(bool)'false'
results in bool(true)
While
(bool)'0'
(or maybe (bool)0
, not sure what it is, but it does not matter in this case) results in bool(false)
Actions