Merge pull request #5035 from TeNNoX/master
[civicrm-core.git] / CRM / Mailing / Page / View.php
index 6010f15bf9bfebd97dc6d268cd5ea7fa07aa7f88..d6e0b9d5c2663e7a69f9b9b0195974545889ff4e 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -42,7 +42,7 @@ class CRM_Mailing_Page_View extends CRM_Core_Page {
   protected $_contactID;
 
   /**
-   * Lets do permission checking here
+   * Lets do permission checking here.
    * First check for valid mailing, if false return fatal
    * Second check for visibility
    * Call a hook to see if hook wants to override visibility setting
@@ -156,7 +156,7 @@ class CRM_Mailing_Page_View extends CRM_Core_Page {
     }
     else {
       //get tokens that are not contact specific resolved
-      $params  = array('contact_id' => 0);
+      $params = array('contact_id' => 0);
       $details = CRM_Utils_Token::getAnonymousTokenDetails($params,
         $returnProperties,
         TRUE, TRUE, NULL,
@@ -200,5 +200,5 @@ class CRM_Mailing_Page_View extends CRM_Core_Page {
       return $content;
     }
   }
-}
 
+}