From f78926830001d522d48642b8b0d7e3e7f635f315 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 19 Sep 2022 08:07:40 +0200 Subject: [PATCH] wait #5438 --- app/Fluidbook/Link/Custom/IntexLink.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/Fluidbook/Link/Custom/IntexLink.php b/app/Fluidbook/Link/Custom/IntexLink.php index eb0c6ff74..d31c115c9 100644 --- a/app/Fluidbook/Link/Custom/IntexLink.php +++ b/app/Fluidbook/Link/Custom/IntexLink.php @@ -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() -- 2.39.5