#99211Overriding saveAndClose in NewContentElementWizard to false does not work as expected
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
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 84528 status
NewUnder Review 06/08/24, 07:48 -
Gerrit Code Review pushed patch set 2 for main to change 84528 06/08/24, 09:07
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 84627 06/11/24, 19:33
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 84633 06/11/24, 19:33
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % 06/11/24, 19:35 -
Benni Mack changed status
ResolvedClosed 07/09/24, 12:46
Applied in changeset commit:1ed5138047e039119f541ec7b39c6a3b4830aeec.