Permalink
Browse files

#2482 - Fixed newsletter unsubscribe

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.2.2@54208 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 33130b3 commit ab70f6c2009c173927bb0f2094d4b5f55db1ac46 @sminnee sminnee committed May 8, 2008
Showing with 4 additions and 0 deletions.
  1. +4 −0 code/Newsletter/Unsubscribe.php
View
4 code/Newsletter/Unsubscribe.php
@@ -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);
}

0 comments on commit ab70f6c

Please sign in to comment.