Shortcut uses the wrong date for the overridden getContentLastModified. Fixes bug #11935.

This commit is contained in:
Colin Kuskie 2010-11-01 10:26:08 -07:00
parent 04ec75719e
commit f2ac0bc67c
3 changed files with 68 additions and 1 deletions

View file

@ -278,7 +278,7 @@ sub getContentLastModified {
my $shortcut = $self->getShortcut;
my $shortcuttedRev;
if (defined $shortcut) {
$shortcuttedRev = $shortcut->get('revisionDate');
$shortcuttedRev = $shortcut->getContentLastModified;
return $assetRev > $shortcuttedRev ? $assetRev : $shortcuttedRev;
} else {
return 0;