]> _ Git - fluidbook_tools.git/commitdiff
wip #6274 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Sep 2023 17:18:55 +0000 (19:18 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Sep 2023 17:18:55 +0000 (19:18 +0200)
src/Links/CustomLink.php

index 87f6de7bf8734040d38e9b5f4a3497ce57743d86..d6b5205263ff6565fa106869c1d066e9585bb23b 100644 (file)
@@ -58,6 +58,6 @@ class CustomLink extends NormalLink
 
     public function ignore()
     {
-        return parent::ignore() || $this->getURL() === '-';
+        return parent::ignore() || !$this->getURL() || $this->getURL() === '-';
     }
 }