Merge pull request #189 from silverstripe-rebelalliance/open/7754
BUG: Fixing a issue with a undefined variable in getLink
This commit is contained in:
commit
fdecfbc091
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue