CRM-14734 - fix notices for anonymous contact viewing a mailing.
authorDave Greenberg <dave@civicrm.org>
Thu, 19 Jun 2014 23:22:23 +0000 (16:22 -0700)
committerDave Greenberg <dave@civicrm.org>
Thu, 19 Jun 2014 23:22:23 +0000 (16:22 -0700)
----------------------------------------
* CRM-14734:
  https://issues.civicrm.org/jira/browse/CRM-14734

CRM/Mailing/Page/View.php

index 5753d43462e0fb40742ee3fcdf857e60c3f800b3..68e7c5de2c64c85db77ee3403c21a7f707d45f0e 100644 (file)
@@ -144,7 +144,6 @@ class CRM_Mailing_Page_View extends CRM_Core_Page {
     $returnProperties = $this->_mailing->getReturnProperties();
     if (isset($this->_contactID)) {
       //get details of contact with token value including Custom Field Token Values.CRM-3734
-      $returnProperties = $this->_mailing->getReturnProperties();
       $params = array('contact_id' => $this->_contactID);
       $details = CRM_Utils_Token::getTokenDetails($params,
         $returnProperties,