From: Florent Bruneau Date: Sat, 20 Mar 2010 13:59:37 +0000 (+0100) Subject: Fix support for wiki hooks. X-Git-Tag: core/1.1.0~37 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=fd669a5756eb8607006d19575956a2f6ea1508ce;p=platal.git Fix support for wiki hooks. Signed-off-by: Florent Bruneau --- 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; }