several bug fixes

This commit is contained in:
JT Smith 2005-03-03 17:27:32 +00:00
parent c29c81be23
commit 1efa40e257
5 changed files with 122 additions and 76 deletions

View file

@ -10,6 +10,10 @@
- Fixed a password timeout bug caused by the change in the interval method.
- Removed the depricated fileSize property from the File asset.
- Fixed a user profile editing bug.
- bugfix [ 1151462 ] missing slash in form URL
- bugfix [ 1155826 ] Forum After update has doble posts
- bugfix [ 1154990 ] lost "get" in code (Collaboration)
- bugfix [ 1154269 ] empty trash doesn't work
6.3.0

View file

@ -2411,7 +2411,7 @@ sub migrateForum {
# we're going to give up hierarchy during the upgrade for the sake of simplicity
print "\t\t\t\t\t\t Migrating posts for thread ".$thread->{forumThreadId}."\n";
my %oldestThreadPost;
my $posts = WebGUI::SQL->read("select * from forumPost where forumThreadId=".quote($thread->{forumThreadId})." and parentId<>'' and forumPost.status<>'deleted'");
my $posts = WebGUI::SQL->read("select * from forumPost where forumThreadId=".quote($thread->{forumThreadId})." and parentId<>0 and forumPost.status<>'deleted'");
my $postRank = 1;
if ($posts->errorCode>0) {
print "\t\t\t\tWARNING: There was a problem migrating the posts for ".$thread->{forumThreadId}."\n";