updating discussion
This commit is contained in:
parent
911bf4a079
commit
4b66502e4c
3 changed files with 60 additions and 16 deletions
|
|
@ -19,7 +19,7 @@ sub create {
|
|||
my $forumPostId = WebGUI::SQL->setRow("forumPost","forumPostId", $data);
|
||||
$self = WebGUI::Forum::Post->new($forumPostId);
|
||||
if ($data->{parentId} > 0) {
|
||||
$self->getThread->addReply($forumPostId,$self->get("dateOfPost"),$self->get("forumPostId"));
|
||||
$self->getThread->addReply($self->get("forumPostId"),$forumPostId,$self->get("dateOfPost"));
|
||||
}
|
||||
return $self;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue