Fix a typo in getCurrentRevisionDate.
This commit is contained in:
parent
acded27995
commit
8e946aa6e6
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ override getCurrentRevisionDate => sub {
|
|||
|
||||
return undef unless $asset;
|
||||
|
||||
if ( $asset->approved || $asset->canEdit ) {
|
||||
if ( $asset->status eq 'approved' || $asset->canEdit ) {
|
||||
return $revisionDate;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue