CRM-14734 - allow $details[0][0] for possible hook usage.
authorDave Greenberg <dave@civicrm.org>
Fri, 20 Jun 2014 18:39:52 +0000 (11:39 -0700)
committerDave Greenberg <dave@civicrm.org>
Fri, 20 Jun 2014 18:39:52 +0000 (11:39 -0700)
----------------------------------------
* CRM-14734:
  https://issues.civicrm.org/jira/browse/CRM-14734

CRM/Mailing/Page/View.php

index 68e7c5de2c64c85db77ee3403c21a7f707d45f0e..2a2813ecfc22a3d895db528191f0fc2a9b602611 100644 (file)
@@ -164,7 +164,7 @@ class CRM_Mailing_Page_View extends CRM_Core_Page {
         get_class($this)
       );
 
-      $details = $details[0];
+      $details = CRM_Utils_Array::value(0, $details[0]);
       $contactId = 0;
     }
     $mime = &$this->_mailing->compose(NULL, NULL, NULL, $contactId,