Skip to content
Snippets Groups Projects
Commit d6a1a955 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

another call_user_func warning fix

parent 6340dabc
No related branches found
No related tags found
No related merge requests found
......@@ -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());
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment