From the UTillyty dokuwiki
Differences
This shows you the differences between two versions of the page.
knowhow:dokuwiki [2009/12/06 12:45] attilio pavone |
knowhow:dokuwiki [2009/12/06 13:18] (current) attilio pavone |
||
---|---|---|---|
Line 17: | Line 17: | ||
<code>call_user_func_array(array(&$renderer, $i[0]),$i[1]?$i[1]:array());</code> | <code>call_user_func_array(array(&$renderer, $i[0]),$i[1]?$i[1]:array());</code> | ||
+ | ==== pageutils warnings ==== | ||
+ | |||
+ | ''Warning: call_user_func_array() expects parameter 2 to be array, null given in /web/htdocs/www.utillyty.eu/home/wiki/inc/parserutils.php on line 426 | ||
+ | '' | ||
+ | |||
+ | ''Warning: call_user_func_array() expects parameter 2 to be array, null given in /web/htdocs/www.utillyty.eu/home/wiki/inc/parserutils.php on line 562 | ||
+ | '' | ||
+ | |||
+ | original lines: | ||
+ | |||
+ | <code>call_user_func_array(array(&$renderer, $instruction[0]),$instruction[1]);</code> | ||
+ | |||
+ | modified lines: | ||
+ | |||
+ | <code>call_user_func_array(array(&$renderer, $instruction[0]), $instruction[1]?$instruction[1]:array());</code> | ||
+ | |||
+ | NB: actually in 562 it was $Renderer (with a capital 'R') so I substituted it accordingly... | ||
+ | |||
+ | |||