bugfix [ 947141 ] Bug in Forum - No Subject!!!

This commit is contained in:
JT Smith 2004-05-25 19:46:01 +00:00
parent 3d79a5e0b4
commit 205b2c3b5e
3 changed files with 8 additions and 1 deletions

View file

@ -8,6 +8,10 @@
form-parameters
- Bugfix [ 956221 ] article template
- Bugfix [ 952906 ] Terminology in the Layout page
- Bugfix [ 952374 ] Images in Articel doesn't work anymore
- Bugfix [ 952137 ] error deleting default content after install
- Bugfix [ 947141 ] Bug in Forum - No Subject!!!

View file

@ -1,4 +1,6 @@
insert into webguiVersion values ('6.0.3','upgrade',unix_timestamp());
delete from international where internationId=981 and namespace='WebGUI';
delete from international where internationalId=981 and namespace='WebGUI';
INSERT INTO international VALUES (981,'WebGUI',1,'Manage database links.',1056151382,NULL);
delete from replacements where replacementId=0;

View file

@ -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);