bugfix [ 947141 ] Bug in Forum - No Subject!!!
This commit is contained in:
parent
3d79a5e0b4
commit
205b2c3b5e
3 changed files with 8 additions and 1 deletions
|
|
@ -383,6 +383,7 @@ Destroys this forum and everything it contains.
|
|||
|
||||
sub purge {
|
||||
my ($self) = @_;
|
||||
return unless ($self->get("forumId"));
|
||||
my $a = WebGUI::SQL->read("select * from forumThread where forumId=".$self->get("forumId"));
|
||||
while (my ($threadId) = $a->array) {
|
||||
my $b = WebGUI::SQL->read("select * from forumPost where forumThreadId=".$threadId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue