From 136630ca8804f880399803b5565f90624049dff4 Mon Sep 17 00:00:00 2001
From: Georg Ringer <georg.ringer@gmail.com>
Date: Sat, 8 Jun 2024 09:45:31 +0200
Subject: [PATCH] [DOC] Use integers for examples of saveAndClose configuration

The string "false" is cast to true and therefore 0/1 must be used in
examples.

Resolves: #99211
Releases: main, 12.4, 11.5
Change-Id: I5519cd1917b81c1dbb90fbb6746541735e4940ce
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84528
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Garvin Hicking <gh@faktor-e.de>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Garvin Hicking <gh@faktor-e.de>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84627
---
 ...461-QuickCreateContentElementsViaNewContentElementWizard.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/core/Documentation/Changelog/10.3/Feature-90461-QuickCreateContentElementsViaNewContentElementWizard.rst b/typo3/sysext/core/Documentation/Changelog/10.3/Feature-90461-QuickCreateContentElementsViaNewContentElementWizard.rst
index fcf6460d0912..75a5e3471e9e 100644
--- a/typo3/sysext/core/Documentation/Changelog/10.3/Feature-90461-QuickCreateContentElementsViaNewContentElementWizard.rst
+++ b/typo3/sysext/core/Documentation/Changelog/10.3/Feature-90461-QuickCreateContentElementsViaNewContentElementWizard.rst
@@ -39,7 +39,7 @@ This definition can be put into PageTSconfig (e.g. :file:`EXT:my_extension/Confi
                    CType = my_element
                    header = Hello my friend
                }
-               saveAndClose = true
+               saveAndClose = 1
            }
        }
    }
-- 
GitLab