fixed a bug reported on the site discussions
This commit is contained in:
parent
065918f360
commit
c886694eb5
2 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue