<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">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. </SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">But what did you mean by "adding "(array)" in front of the offensive variable"  ?</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">for example</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"> l 264 : </SPAN></FONT><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">$SectionEditIncludes = array_merge($SectionEditIncludes,$args['']);</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">l266 : $SectionEditIncludes = array_unique($SectionEditIncludes);</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">l287 : </SPAN></FONT><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">if (in_array($args[$i],$SectionEditIncludes) &amp;&amp; ($text != '')) {</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">thanks from a newbie :-)</SPAN></FONT></DIV></BODY></HTML>