]> _ Git - fluidbook-toolbox.git/commitdiff
wait #5438
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 19 Sep 2022 06:07:40 +0000 (08:07 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 19 Sep 2022 06:07:40 +0000 (08:07 +0200)
app/Fluidbook/Link/Custom/IntexLink.php

index eb0c6ff748718d143806bfdda95efdd46ac2b9fe..d31c115c91a8fca360f934d11b05dd87ed3310a3 100644 (file)
@@ -6,9 +6,17 @@ use Fluidbook\Tools\Links\CustomLink;
 
 class IntexLink extends CustomLink
 {
+    public function ignore()
+    {
+        if (!static::_getURLOfType('intex', $this->to, false)) {
+            return true;
+        }
+        return parent::ignore();
+    }
+
     public static function _getURL($to)
     {
-        return self::_getURLOfType('intex', $to);
+        return static::_getURLOfType('intex', $to);
     }
 
     public function getDefaultTooltip()