We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55893c0 commit 93f583dCopy full SHA for 93f583d
docs/changelog/7.x.x.txt
@@ -1,6 +1,7 @@
1
7.10.27
2
- fixed #12379: userImport documentation error
3
- fixed #12382: WebGUI::Crud does not work with all form types
4
+ - fixed: Threads with no posts return the wrong lastReply data.
5
6
7.10.26
7
- fixed: Template diagnostics when called without a session asset.
lib/WebGUI/Asset/Post/Thread.pm
@@ -450,7 +450,7 @@ sub getLastPost {
450
my $lastPostId = $self->get("lastPostId");
451
my $lastPost;
452
if ($lastPostId) {
453
- $lastPost = WebGUI::Asset::Post->new($self->session, $lastPostId);
+ $lastPost = WebGUI::Asset->newByDynamicClass($self->session, $lastPostId);
454
}
455
return $lastPost if (defined $lastPost);
456
return $self;
0 commit comments