[pmwiki-users] SectionEdit
Pierre-Marie CARETTE
carette.pierre-marie at wanadoo.fr
Mon Feb 6 06:53:44 CST 2006
BenWilson wrote in cookbook/SectionEdit February 05, 2006, at 12:37
PM : Trt editing the lines that show the "array" type error by adding
"(array)" in front of the offensive variable. This will cast that
variable as an Array, which should fix the problem.
But what did you mean by "adding "(array)" in front of the offensive
variable" ?
for example
l 264 : $SectionEditIncludes = array_merge($SectionEditIncludes,
$args['']);
l266 : $SectionEditIncludes = array_unique($SectionEditIncludes);
l287 : if (in_array($args[$i],$SectionEditIncludes) && ($text !=
'')) {
thanks from a newbie :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060206/5916706b/attachment.html
More information about the pmwiki-users
mailing list