diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-02-03 21:18:56 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-02-03 21:18:56 +0100 |
commit | 3b7488710df8a72be396293874215445851b66b9 (patch) | |
tree | e70ff68261ab6f8a2e1a5f1e30d50fb245c601fa | |
parent | b856f7dff0fe4c6a9f2fe04fd26c1ccde0aa233c (diff) | |
download | rpg-3b7488710df8a72be396293874215445851b66b9.tar.gz rpg-3b7488710df8a72be396293874215445851b66b9.tar.bz2 |
cast 2nd param to array when executing render instructions FS#1880
-rw-r--r-- | inc/parserutils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parserutils.php b/inc/parserutils.php index 471d46903..631e4149c 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -423,7 +423,7 @@ function p_render_metadata($id, $orig){ // loop through the instructions foreach ($instructions as $instruction){ // execute the callback against the renderer - call_user_func_array(array(&$renderer, $instruction[0]), $instruction[1]); + call_user_func_array(array(&$renderer, $instruction[0]), (array) $instruction[1]); } $evt->result = array('current'=>$renderer->meta,'persistent'=>$renderer->persistent); |