Skip to content

Commit

Permalink
#2482 - Fixed newsletter unsubscribe
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.2.2@54208 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
Sam Minnee committed Feb 2, 2011
1 parent 33130b3 commit ab70f6c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/Newsletter/Unsubscribe.php
Expand Up @@ -13,6 +13,10 @@
class Unsubscribe_Controller extends Page_Controller {

function __construct($data = null) {
if(!$data) {
$data = new Page();
$data->Title = "Unsubscribe";
}
parent::__construct($data);
}

Expand Down

0 comments on commit ab70f6c

Please sign in to comment.