From bdae0b8dd3181a45a9f6f5343848b72cb149a0a6 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Fri, 20 Jun 2014 11:39:52 -0700 Subject: [PATCH] CRM-14734 - allow $details[0][0] for possible hook usage. ---------------------------------------- * CRM-14734: https://issues.civicrm.org/jira/browse/CRM-14734 --- CRM/Mailing/Page/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Mailing/Page/View.php b/CRM/Mailing/Page/View.php index 68e7c5de2c..2a2813ecfc 100644 --- a/CRM/Mailing/Page/View.php +++ b/CRM/Mailing/Page/View.php @@ -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, -- 2.25.1