BUGFIX: Generate stage/live links using Controller::join_links() instead of string concatenation.

This commit is contained in:
Sam Minnee 2010-05-11 05:35:23 +00:00
parent 0f31a575d0
commit 7836db5678

View File

@ -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();