From: Vincent Vanwaelscappel Date: Mon, 19 Sep 2022 06:07:40 +0000 (+0200) Subject: wait #5438 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f78926830001d522d48642b8b0d7e3e7f635f315;p=fluidbook-toolbox.git wait #5438 --- 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()