newByDynamicClass changed to newById
This commit is contained in:
parent
0fd922daed
commit
49bd7f5032
41 changed files with 94 additions and 94 deletions
|
|
@ -122,7 +122,7 @@ sub view {
|
|||
$first = $child;
|
||||
}
|
||||
my %lastPostVars;
|
||||
my $lastPost = WebGUI::Asset::Wobject::MessageBoard->newByDynamicClass($self->session, $child->get("lastPostId"));
|
||||
my $lastPost = WebGUI::Asset::Wobject::MessageBoard->newById($self->session, $child->get("lastPostId"));
|
||||
if (defined $lastPost) {
|
||||
%lastPostVars = (
|
||||
'forum.lastPost.url' => $lastPost->getUrl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue