diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php index 7002fd0cb938418f35a5a249b6f86287a957d449..f050e6eac9ed1276189a6ba0874e9f5bed6ef35f 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()); } } }