Now prevent warning even morerest.
This commit is contained in:
parent
e209e0104a
commit
cc02178bb7
1 changed files with 4 additions and 4 deletions
|
|
@ -137,10 +137,10 @@ sub getViewVars {
|
|||
my $issueVar = $issue->get;
|
||||
$issueVar->{ url } = $issue->getUrl;
|
||||
|
||||
my $isRecent =
|
||||
( ! defined $displayIssueId && $recentCount < $maxRecent )
|
||||
|| ( $issue->getId eq $displayIssueId )
|
||||
;
|
||||
my $isRecent = defined $displayIssueId
|
||||
? $issue->getId eq $displayIssueId
|
||||
: $recentCount < $maxRecent
|
||||
;
|
||||
|
||||
if ( $isRecent ) {
|
||||
$issueVar->{ content } = $self->getAssetContent( $issue );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue