Community Forums

ATutor Bug Reports

Minor bug repair in /file_storage/comments.php


You must be signed-in to post.

AuthorSubject
 
Page: 1
Joka

Avatar for Joka
Subject: Minor bug repair in /file_storage/comments.phpQuote this post in your reply
ATutor version 1.5.3.3.

A small 'inversion' of function order in the /file_storage/comments.php file requires the following fix:

Line: 160
Replace: <p><?php echo htmlspecialchars(nl2br($row['comment'])); ?></p>
With: <p><?php echo nl2br(htmlspecialchars($row['comment'])); ?></p>

This will solve </ br> showing up literally, and implement barrel returns (i.e. line changes) as intended.

Message to the developers: Please repair (if not already done) in the next ATutor version.
Posted: 2007-03-24 04:34:24
greg

Avatar for greg
Subject: Re: Minor bug repair in /file_storage/comments.phpQuote this post in your reply
confirmed

It should make it into 1.5.4 in the next day or two.

thanks
Posted: 2007-03-24 08:43:16
Joka

Avatar for Joka
Subject: 2nd occurrence in the same fileQuote this post in your reply
IOops, same thing on line 134.
Posted: 2007-03-27 02:55:35
 
Page: 1

You must be signed-in to post.

Related Articles