diff options
-rw-r--r-- | inc/parser/renderer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php index 7002fd0cb..f050e6eac 100644 --- a/inc/parser/renderer.php +++ b/inc/parser/renderer.php @@ -75,7 +75,7 @@ class Doku_Renderer extends DokuWiki_Plugin { foreach ( $instructions as $instruction ) { // execute the callback against ourself if (method_exists($this,$instruction[0])) { - call_user_func_array(array($this, $instruction[0]),$instruction[1]); + call_user_func_array(array($this, $instruction[0]), $instruction[1] ? $instruction[1] : array()); } } } |