diff options
-rw-r--r-- | inc/parser/renderer.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php index 81c33fe62..b54ccf050 100644 --- a/inc/parser/renderer.php +++ b/inc/parser/renderer.php @@ -74,7 +74,9 @@ class Doku_Renderer extends DokuWiki_Plugin { foreach ( $instructions as $instruction ) { // execute the callback against ourself - call_user_func_array(array(&$this, $instruction[0]),$instruction[1]); + if (method_exists($this,$instruction[0])) { + call_user_func_array(array($this, $instruction[0]),$instruction[1]); + } } } |