<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Hi Jason,</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I will try to enter this defect but i think we should try the following inorder to avoid the passing parameter error--</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><STRONG>BuildClientSideTree($tree, null, "null", false, "layerData",$resourceSrvc, null);<BR></STRONG></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<TABLE class=code>
<TBODY>
<TR>
<TD><SPAN class=code-lang>$updateType </SPAN><SPAN class=code-keyword>= </SPAN><SPAN class=code-lang>0</SPAN><SPAN class=code-keyword>;</SPAN></TD></TR>
<TR>
<TH id=L87><A href="http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/mapviewerphp/legend.php#L87"><FONT color=#800080>87</FONT></A></TH>
<TD><SPAN class=code-comment>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</SPAN><SPAN class=code-comment>// return only the layer structure, that is mainly groups/layers/layer-ids. Do not parse layer definitions.</SPAN></TD></TR>
<TR>
<TH id=L88><A href="http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/mapviewerphp/legend.php#L88"><FONT color=#800080>88</FONT></A></TH>
<TD><SPAN class=code-comment>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//</SPAN></TD></TR>
<TR>
<TH id=L89><A href="http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/mapviewerphp/legend.php#L89"><FONT color=#800080>89</FONT></A></TH>
<TD><SPAN class=code-comment>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</SPAN><SPAN class=code-lang>BuildClientSideTree</SPAN><SPAN class=code-keyword>(</SPAN><SPAN class=code-lang>$tree</SPAN><SPAN class=code-keyword>, </SPAN><SPAN class=code-lang>null</SPAN><SPAN class=code-keyword>, </SPAN><SPAN class=code-string>"null"</SPAN><SPAN class=code-keyword>, </SPAN><SPAN class=code-lang>false</SPAN><SPAN class=code-keyword>, </SPAN><SPAN class=code-string>"layerData"</SPAN><SPAN class=code-keyword>, </SPAN><SPAN class=code-lang>null</SPAN><SPAN class=code-keyword>);</SPAN></TD></TR></TBODY></TABLE></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;Thks </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Max <BR><BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Jason Birch &lt;Jason.Birch@nanaimo.ca&gt;<BR>To: MapGuide Users Mail List &lt;mapguide-users@lists.osgeo.org&gt;<BR>Sent: Friday, February 8, 2008 4:18:11 PM<BR>Subject: RE: [mapguide-users] mapviewerphp-error in legend.phpfile(BuildClientSideTree)<BR><BR>Could you please enter this defect, along with the version of MapGuide OS you are using, etc, in our Trac instance?<BR><BR><A href="http://trac.osgeo.org/mapguide/wiki/SubmitTicket" target=_blank>http://trac.osgeo.org/mapguide/wiki/SubmitTicket</A><BR><BR>To confirm, this problem appears to still be present in trunk:<BR><BR><A href="http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/mapviewerphp/legend.php#l89" target=_blank>http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/mapviewerphp/legend.php#l89</A><BR><BR>I believe that the fix is to either pass a null for the
 last parameter, or to change the function signature to give the last parameter a default value of null.<BR><BR>Thanks,<BR>Jason<BR><BR>________________________________<BR><BR>From: Rahul<BR>Subject: [mapguide-users] mapviewerphp-error in legend.phpfile(BuildClientSideTree)<BR><BR>Hi All,<BR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I think there is error in the legend.php file inside the mapviewerphp Folder--<BR><BR><!-- kill -->
<DIV><BR><BR>-----Inline Attachment Follows-----<BR><BR>_______________________________________________<BR>mapguide-users mailing list<BR><A href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><BR><A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target=_blank>http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR></DIV></DIV><BR></DIV></div><br>



      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>

</body></html>