BUG: Fixing a issue with a undefined variable in getLink

This commit is contained in:
Kirk Mayo 2012-08-08 16:39:10 +12:00
parent 4c91a56277
commit 03e4893b15

View File

@ -320,7 +320,7 @@ class SilverStripeNavigatorItem_ArchiveLink extends SilverStripeNavigatorItem {
}
function getLink() {
return $this->record->AbsoluteLink() . '?archiveDate=' . $date;
return $this->record->AbsoluteLink() . '?archiveDate=' . $this->record->LastEdited;
}
function canView($member = null) {