From: Vincent Vanwaelscappel Date: Wed, 30 Aug 2023 14:18:17 +0000 (+0200) Subject: wip #6228 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=aa573b9a60e6888b359d1755890e835124e538fc;p=fluidbook-toolbox.git wip #6228 @0.25 --- diff --git a/app/Fluidbook/Compiler/Compiler.php b/app/Fluidbook/Compiler/Compiler.php index 6d2db54f3..5d8853654 100644 --- a/app/Fluidbook/Compiler/Compiler.php +++ b/app/Fluidbook/Compiler/Compiler.php @@ -1252,7 +1252,7 @@ class Compiler extends Base implements CompilerInterface } $page = max(1, $page); if (!isset($this->content_lock[$page])) { - $this->content_lock[$page] = ['unlocked' => 0, 'conditions' => []]; + $this->content_lock[$page] = ['page' => $page, 'unlocked' => 0, 'conditions' => []]; } $this->content_lock[$page]['conditions'] = array_merge($this->content_lock[$page]['conditions'], $conditions); }