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, "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();