|
|
|
|
|
| Wednesday, 29 March 2006 | ||||
|
I've fixed a small bug in the Latest Comments module by Nils Feberwee and thought it might be useful to post a fix. We need to strip the slashes from the title, comment and name fields before printing them to the page. We can do this using a PHP function, stripslashes(). Edit modules/mod_latestcomments.php lines 46-48, add stripslashes() around the variables like so: Or download modified file here. Quote this article on your site
Only registered users can write comments.
|
||||




Be first to comment this article

