From 108bbb7ee6a89118bc4002b6a11beca61df75ba1 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 27 May 2025 10:41:47 +0200 Subject: [PATCH] wait #7569 @0.25 --- src/Links/Link.php | 3 +++ 1 file changed, 3 insertions(+) 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;; } -- 2.39.5