From aa573b9a60e6888b359d1755890e835124e538fc Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 30 Aug 2023 16:18:17 +0200 Subject: [PATCH] wip #6228 @0.25 --- app/Fluidbook/Compiler/Compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5