Issue Bug Closed

#99211Overriding saveAndClose in NewContentElementWizard to false does not work as expected

Kevin Appelt 11/28/22, 12:45 updated 07/09/24, 12:46

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)

Reviews 3