]> _ Git - fluidbook_tools.git/commitdiff
wait #6705 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 1 Feb 2024 15:53:54 +0000 (16:53 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 1 Feb 2024 15:53:54 +0000 (16:53 +0100)
src/Links/Link.php

index 98e33421939e0cd3409bb90bf3fd0d29ec0d841f..7735053bbc46bf53e478ba26ac134c969f290de5 100644 (file)
@@ -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;