fix [1152434 ] Last Reply column is blank in a forum
This commit is contained in:
parent
470670894e
commit
625d0545bf
2 changed files with 23 additions and 2 deletions
|
|
@ -126,9 +126,17 @@ sub getIcon {
|
|||
return $session{config}{extrasURL}.'/assets/thread.gif';
|
||||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub getName {
|
||||
return "Thread";
|
||||
sub getLastPost {
|
||||
my $self = shift;
|
||||
my $lastPostId = $self->get("lastPostId");
|
||||
my $lastPost = 0;
|
||||
if ($lastPostId) {
|
||||
$lastPost = WebGUI::Asset->new($lastPostId);
|
||||
}
|
||||
return $lastPost if ($lastPost);
|
||||
return $self;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
@ -163,6 +171,11 @@ sub getLockUrl {
|
|||
$self->getUrl("func=lock");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub getName {
|
||||
return "Thread";
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getNextThread ( )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue