From: Vincent Vanwaelscappel Date: Thu, 1 Feb 2024 15:53:54 +0000 (+0100) Subject: wait #6705 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=209eea9f5a1474b47223c7962c4e025a43791707;p=fluidbook_tools.git wait #6705 @0.25 --- diff --git a/src/Links/Link.php b/src/Links/Link.php index 98e3342..7735053 100644 --- a/src/Links/Link.php +++ b/src/Links/Link.php @@ -716,7 +716,7 @@ class Link public function moveOnEvenPage() { - if ($this->page % 2 === 0 && $this->left < $this->compiler->getWidthForLinks()) { + if (is_numeric($this->page) && $this->page % 2 === 0 && $this->left < $this->compiler->getWidthForLinks()) { return false; } return $this->attachLeft;