diff --git a/docs/changelog/5.x.x.txt b/docs/changelog/5.x.x.txt index f05c7a851..51ed7e933 100644 --- a/docs/changelog/5.x.x.txt +++ b/docs/changelog/5.x.x.txt @@ -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 diff --git a/lib/WebGUI/Forum/Thread.pm b/lib/WebGUI/Forum/Thread.pm index a42fd52ab..51de8d867 100644 --- a/lib/WebGUI/Forum/Thread.pm +++ b/lib/WebGUI/Forum/Thread.pm @@ -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;