From: TiMax <ma...@em...> - 2003-05-17 17:48:56
|
<html><head><meta name=3D"Generator" content=3D"PocoMail 3 HTML/CSS= Generator"/> <style type=3D"text/css"><!-- p{display:block;font-family:"Arial";font-size:10pt;color:blue;mar= gin:0.00in;text-align:left;} LI{display:list-item;font-family:"Arial";font-size:0pt;color:blac= k;margin-top:0.00in;margin-bottom:0.00in;text-align:left;} td{display:block;font-family:"Arial";font-size:0pt;color:black;ma= rgin-left:0.00in;margin-right:0.00in;text-align:left;} --></style> </head><BODY bgcolor=3D"F4FDFF" BGCOLOR=3D"#F4FDFF"><p><SPAN>you are= right ... </SPAN></p> <p><SPAN>i think you have found two bug's and we need to check it= LOL</SPAN></p> <p> </p> <p><SPAN>TiMax<BR/><BR/></SPAN></p> <p><SPAN>On Fri, 16 May 2003 15:06:47 +0200,= Mar...@cs... wrote:</SPAN></p> <p>>=A0 Hi to all,</p> <p>></p> <p>>=A0 in NS-Admin/pnfunctions.php ->=A0function= displayModuleList</p> <p>>=A0 I have found the lines:</p> <p>></p> <p>>=A0 ..</p> <p>>=A0 if(displayAllModules($gID)){</p> <p>>=A0 =A0 =A0$query =3D "SELECT ".$column['mid']." FROM ".$table."= INNER JOIN</p> <p>>=A0 ".$modTable." AS mod</p> <p>>=A0 =A0 =A0 =A0 ON ".$column['mid']." =3D mod.pn_id WHERE= ".$column['gid']."=3D'".$gID."'</p> <p>>=A0 =A0 =A0 =A0 ORDER BY mod.pn_displayname";</p> <p>>=A0 }else{</p> <p>>=A0 =A0 =A0$query =3D "SELECT ".$column['mid']." FROM ".$table."= INNER JOIN</p> <p>>=A0 ".$modTable." AS mod</p> <p>>=A0 =A0 =A0 =A0 ON ".$column['mid']." =3D mod.pn_id WHERE= ".$column['gid']."=3D'".$gID."'</p> <p>>=A0 =A0 =A0 =A0 ORDER BY mod.pn_displayname";</p> <p>>=A0 }</p> <p>>=A0 ..</p> <p>></p> <p>></p> <p>>=A0 What is the meaning?</p> <p>>=A0 The 2 query are identical...</p> <p>>=A0 The if costruct has no sense, or I'm= wrong?<SPAN><BR/></SPAN></p> </body></html> |