diff --git a/classes/TagHelper.php b/classes/TagHelper.php index 8ba7831..bd31183 100644 --- a/classes/TagHelper.php +++ b/classes/TagHelper.php @@ -34,12 +34,12 @@ public static function getPageObj($jumpTo = null) } } - public function encode($tag) + public static function encode($tag) { return str_replace('/', 'x2F', $tag); } - public function decode($tag) + public static function decode($tag) { return str_replace('x2F', '/', $tag); }