mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
#1482 - Email link doesn't work
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@43916 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7412274587
commit
104e29c9fa
@ -770,7 +770,7 @@ HTML;
|
||||
);
|
||||
|
||||
// encode the message to appear in the body of the email
|
||||
$archiveURL = Director::absoluteBaseURL() . $record->URLSegment . '?archiveDate=' . $record->obj('LastEdited')->URLDate();
|
||||
$archiveURL = Director::absoluteBaseURL() . $record->URLSegment . '?archiveDate=' . $record->obj('LastEdited')->URLDatetime();
|
||||
$archiveEmailMessage = urlencode( $this->customise( array( 'ArchiveDate' => $record->obj('LastEdited'), 'ArchiveURL' => $archiveURL ) )->renderWith( 'ViewArchivedEmail' ) );
|
||||
|
||||
$archiveEmailMessage = preg_replace( '/\+/', '%20', $archiveEmailMessage );
|
||||
|
Loading…
Reference in New Issue
Block a user