From bf8648e1223611d6b0cd9a52eab64267bdbd0b82 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Fri, 16 Oct 2015 16:15:03 +1300 Subject: [PATCH] CRM-17412 strict notice fix --- CRM/Mailing/Page/Event.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Mailing/Page/Event.php b/CRM/Mailing/Page/Event.php index 1744393d36..04af532830 100644 --- a/CRM/Mailing/Page/Event.php +++ b/CRM/Mailing/Page/Event.php @@ -32,8 +32,9 @@ */ /** - * This implements the profile page for all contacts. It uses a selector - * object to do the actual dispay. The fields displayd are controlled by + * This implements the profile page for all contacts. + * + * It uses a selector object to do the actual display. The fields displayed are controlled by * the admin */ class CRM_Mailing_Page_Event extends CRM_Core_Page { @@ -49,7 +50,7 @@ class CRM_Mailing_Page_Event extends CRM_Core_Page { * Run this page (figure out the action needed and perform it). */ public function run() { - $selector = &new CRM_Mailing_Selector_Event( + $selector = new CRM_Mailing_Selector_Event( CRM_Utils_Request::retrieve('event', 'String', $this), CRM_Utils_Request::retrieve('distinct', 'Boolean', $this), CRM_Utils_Request::retrieve('mid', 'Positive', $this), @@ -59,7 +60,6 @@ class CRM_Mailing_Page_Event extends CRM_Core_Page { $mailing_id = CRM_Utils_Request::retrieve('mid', 'Positive', $this); - // assign backurl $context = CRM_Utils_Request::retrieve('context', 'String', $this); if ($context == 'activitySelector') { -- 2.25.1