From: Vincent Vanwaelscappel Date: Tue, 27 May 2025 08:41:47 +0000 (+0200) Subject: wait #7569 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=108bbb7ee6a89118bc4002b6a11beca61df75ba1;p=fluidbook_tools.git wait #7569 @0.25 --- diff --git a/src/Links/Link.php b/src/Links/Link.php index 95ab874..861950b 100644 --- a/src/Links/Link.php +++ b/src/Links/Link.php @@ -886,6 +886,9 @@ class Link public function isOutsidePage() { + if (!is_numeric($this->page)) { + return false; + } return $this->top + $this->height <= 0 || $this->top > $this->compiler->getHeightForLinks($this->page) || $this->left > $this->compiler->getWidthForLinks($this->page) || $this->left + $this->width <= 0;; }