Re: Error (and fix) for comments and bbcode
"MADHATter7" <[email protected]> Mon, 2 Sep 2002 16:58:15 -0400
| Newsgroups | gmane.comp.web.envolution.devel |
|---|---|
| Message-ID | <04d401c252c3$77974d60$4f1e4ed8@t6a4q5> |
Cool, thanks for the report AND the fix will correct right now mh7 ----- Original Message ----- From: Seth Cribby To: [email protected] Sent: Monday, September 02, 2002 4:06 PM Subject: Re: [envdev] Error (and fix) for comments and bbcode oops, the file is modules/NS-Comments/index.php Fix: Lines 561 and 562 ------------------------------- where it says: echo substr("genBBcodeDisplay($comment)", 0, $maxco....... should be: echo substr(genBBcodeDisplay($comment), 0, $maxco....... just take out the quotation marks and it works. There are two of these one on 561, one on 562. Line 666 (what a line #) --------------------------------------- where it says: <font class=\"pn-normal\">".pnVarPrepHTMLDisplay($comment)."</font> should be: <font class=\"pn-normal\">".genBBcodeDisplay($comment)."</font> Seth