mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
BUGFIX: Generate stage/live links using Controller::join_links() instead of string concatenation.
This commit is contained in:
parent
0f31a575d0
commit
7836db5678
@ -35,8 +35,8 @@ class ContentReviewEmails extends DailyTask {
|
|||||||
"Recipient" => $recipient,
|
"Recipient" => $recipient,
|
||||||
"Sender" => $sender,
|
"Sender" => $sender,
|
||||||
"Page" => $page,
|
"Page" => $page,
|
||||||
"StageSiteLink" => $page->Link()."?stage=stage",
|
"StageSiteLink" => Controller::join_links($page->Link(), "?stage=Stage"),
|
||||||
"LiveSiteLink" => $page->Link()."?stage=live",
|
"LiveSiteLink" => Controller::join_links($page->Link(), "?stage=Live"),
|
||||||
));
|
));
|
||||||
|
|
||||||
$email->send();
|
$email->send();
|
||||||
|
Loading…
Reference in New Issue
Block a user