Commit d315fb23 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Andreas Fernandez
Browse files

[BUGFIX] Create multiple pages: cast bool values to int

Resolves: #82403
Related: #81768
Releases: master
Change-Id: Id6610c9f7fbc445c142c999bb41c7b7c6eb83729

Reviewed-by: Benjamin Kott's avatarBenjamin Kott <>
Tested-by: Benjamin Kott's avatarBenjamin Kott <>
Reviewed-by: default avatarStefan Neufeind <>
Tested-by: default avatarStefan Neufeind <>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <>
parent e11bf1a8
......@@ -165,8 +165,8 @@ class NewMultiplePagesController
if (!trim($data['title'])) {
$commandArray['pages'][$identifier]['hidden'] = $hidePages;
$commandArray['pages'][$identifier]['nav_hide'] = $hidePagesInMenu;
$commandArray['pages'][$identifier]['hidden'] = (int)$hidePages;
$commandArray['pages'][$identifier]['nav_hide'] = (int)$hidePagesInMenu;
$commandArray['pages'][$identifier]['title'] = $data['title'];
$commandArray['pages'][$identifier]['doktype'] = $data['doktype'];
if ($firstRecord) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment