fixed a bug reported on the site discussions

This commit is contained in:
JT Smith 2003-11-22 15:52:50 +00:00
parent 065918f360
commit c886694eb5
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
5.5.3
- Lowercase file extension in importCollateral.pl while determinating file
type.
- Fixed a typo in the Forum Threads that caused an error upon deleting a
post.
5.5.2

View file

@ -110,7 +110,7 @@ Decrements the replies counter for this thread.
=cut
sub deccrementReplies {
sub decrementReplies {
my ($self) = @_;
WebGUI::SQL->write("update forumThread set replies=replies-1 where forumThreadId=".$self->get("forumThreadId"));
$self->getForum->decrementReplies;