Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Usha Matisson
Core
Commits
72decf50
Commit
72decf50
authored
11 years ago
by
lcdweb
Browse files
Options
Downloads
Patches
Plain Diff
CRM-14049 allow on-hold email when retrieving details and pass contactId if exists
parent
94a73612
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Mailing/Page/View.php
+6
-4
6 additions, 4 deletions
CRM/Mailing/Page/View.php
with
6 additions
and
4 deletions
CRM/Mailing/Page/View.php
+
6
−
4
View file @
72decf50
...
...
@@ -117,19 +117,21 @@ class CRM_Mailing_Page_View extends CRM_Core_Page {
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
,
$params
=
array
(
'contact_id'
=>
$this
->
_contactID
);
$details
=
CRM_Utils_Token
::
getTokenDetails
(
$params
,
$returnProperties
,
TRU
E
,
TRUE
,
NULL
,
FALS
E
,
TRUE
,
NULL
,
$this
->
_mailing
->
getFlattenedTokens
(),
get_class
(
$this
)
);
$details
=
$details
[
0
][
$this
->
_contactID
];
$contactId
=
$this
->
_contactID
;
}
else
{
$details
=
array
(
'test'
);
$contactId
=
0
;
}
$mime
=
&
$this
->
_mailing
->
compose
(
NULL
,
NULL
,
NULL
,
0
,
$mime
=
&
$this
->
_mailing
->
compose
(
NULL
,
NULL
,
NULL
,
$contactId
,
$this
->
_mailing
->
from_email
,
$this
->
_mailing
->
from_email
,
TRUE
,
$details
,
$attachments
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment