mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUG: Fixing a issue with a undefined variable in getLink
This commit is contained in:
parent
4c91a56277
commit
03e4893b15
@ -320,7 +320,7 @@ class SilverStripeNavigatorItem_ArchiveLink extends SilverStripeNavigatorItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getLink() {
|
function getLink() {
|
||||||
return $this->record->AbsoluteLink() . '?archiveDate=' . $date;
|
return $this->record->AbsoluteLink() . '?archiveDate=' . $this->record->LastEdited;
|
||||||
}
|
}
|
||||||
|
|
||||||
function canView($member = null) {
|
function canView($member = null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user