From fd669a5756eb8607006d19575956a2f6ea1508ce Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 20 Mar 2010 14:59:37 +0100 Subject: [PATCH] Fix support for wiki hooks. Signed-off-by: Florent Bruneau --- classes/platal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/platal.php b/classes/platal.php index f0569d6..a1aade6 100644 --- a/classes/platal.php +++ b/classes/platal.php @@ -111,7 +111,7 @@ abstract class Platal $hook = $this->__hooks[$p]; - if (!is_callable($hook['hook'])) { + if (!is_callable($hook['hook']) && $hook['hook'] != PL_WIKI_HOOK) { return null; } -- 2.1.4