projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2da945
)
CRM-15667 - Fix invalid selector column values for Unsubscribe Requests.
author
Dave Greenberg
<dave@civicrm.org>
Mon, 1 Dec 2014 19:57:53 +0000
(14:57 -0500)
committer
Dave Greenberg
<dave@civicrm.org>
Mon, 1 Dec 2014 19:57:53 +0000
(14:57 -0500)
----------------------------------------
* CRM-15667:
https://issues.civicrm.org/jira/browse/CRM-15667
CRM/Mailing/Event/BAO/Unsubscribe.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/Event/BAO/Unsubscribe.php
b/CRM/Mailing/Event/BAO/Unsubscribe.php
index 75724efbc2871432e988f8025d3693ac3c83f58e..d252266132c848bab84b8f54b5410db272521337 100644
(file)
--- a/
CRM/Mailing/Event/BAO/Unsubscribe.php
+++ b/
CRM/Mailing/Event/BAO/Unsubscribe.php
@@
-559,7
+559,8
@@
WHERE email = %2
$results[] = array(
'name' => "<a href=\"$url\">{$dao->display_name}</a>",
'email' => $dao->email,
- 'org' => $dao->org_unsubscribe ? ts('Yes') : ts('No'),
+ // Next value displays in selector under either Unsubscribe OR Optout column header, so always s/b Yes.
+ 'unsubOrOptout' => ts('Yes'),
'date' => CRM_Utils_Date::customFormat($dao->date),
);
}