From 501e7e0ca4f4b3be51282b98bc6946bb5c547158 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 18 Sep 2023 18:31:51 +0200 Subject: [PATCH] wait #6288 --- src/Links/CustomLink.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Links/CustomLink.php b/src/Links/CustomLink.php index 7e62d46..d80c8ab 100644 --- a/src/Links/CustomLink.php +++ b/src/Links/CustomLink.php @@ -12,8 +12,7 @@ class CustomLink extends NormalLink public function getURL() { - $res = static::_getURL($this->to); - return $res; + return static::_getURL($this->to); } public function getTarget() @@ -38,7 +37,7 @@ class CustomLink extends NormalLink return new CustomLink($id, $init, $compiler); } - protected static function _getURL($ref, $type = '', $default = null) + public static function _getURL($ref, $type = '', $default = null) { $ref = str_replace('custom:', '', $ref); $e = explode(':', $ref, 2); -- 2.39.5