summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-07-28 11:21:00 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-07-28 11:21:00 +0200
commitd6a1a9553dadb28d0bce3e7399efa936a4c95342 (patch)
tree753a6f9ff2f032c159b1c64b8d7b098faf364631 /inc/parser
parent6340dabc82297548ab6a8cfe3e913cdec0cac928 (diff)
downloadrpg-d6a1a9553dadb28d0bce3e7399efa936a4c95342.tar.gz
rpg-d6a1a9553dadb28d0bce3e7399efa936a4c95342.tar.bz2
another call_user_func warning fix
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/renderer.php2
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());
}
}
}