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;
|
my $issueVar = $issue->get;
|
||||||
$issueVar->{ url } = $issue->getUrl;
|
$issueVar->{ url } = $issue->getUrl;
|
||||||
|
|
||||||
my $isRecent =
|
my $isRecent = defined $displayIssueId
|
||||||
( ! defined $displayIssueId && $recentCount < $maxRecent )
|
? $issue->getId eq $displayIssueId
|
||||||
|| ( $issue->getId eq $displayIssueId )
|
: $recentCount < $maxRecent
|
||||||
;
|
;
|
||||||
|
|
||||||
if ( $isRecent ) {
|
if ( $isRecent ) {
|
||||||
$issueVar->{ content } = $self->getAssetContent( $issue );
|
$issueVar->{ content } = $self->getAssetContent( $issue );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue