From 8d5d1c77af41ea489923299a24d3e8521512e0d1 Mon Sep 17 00:00:00 2001 From: shintak Date: Mon, 31 Dec 2018 01:10:22 +0900 Subject: [PATCH] The links do not be shown when blogs are in nested namespace -- fix and close #6 To fix the issue, getting namespace explicitly in handle_act_render. close #6 --- action.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.php b/action.php index d7c1761..81d90ba 100644 --- a/action.php +++ b/action.php @@ -66,6 +66,9 @@ function handle_act_render(Doku_Event $event, $params) { return; $namespace = $this->_getActiveNamespace(); + if(! $namespace){ + $namespace = getNS(getID()); + } if ($namespace) $this->_printLinks($this->_getRelatedEntries($namespace));