From 209eea9f5a1474b47223c7962c4e025a43791707 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 1 Feb 2024 16:53:54 +0100 Subject: [PATCH] wait #6705 @0.25 --- src/Links/Link.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5