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,
|
||||
"Sender" => $sender,
|
||||
"Page" => $page,
|
||||
"StageSiteLink" => $page->Link()."?stage=stage",
|
||||
"LiveSiteLink" => $page->Link()."?stage=live",
|
||||
"StageSiteLink" => Controller::join_links($page->Link(), "?stage=Stage"),
|
||||
"LiveSiteLink" => Controller::join_links($page->Link(), "?stage=Live"),
|
||||
));
|
||||
|
||||
$email->send();
|
||||
|
Loading…
Reference in New Issue
Block a user