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:
8be1a83
)
CRM-15926 - CRM_Contact_Page_AJAX - Output text headers
author
Tim Otten
<totten@civicrm.org>
Tue, 10 Feb 2015 13:20:53 +0000
(
05:20
-0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 10 Feb 2015 13:22:01 +0000
(
05:22
-0800)
CRM/Contact/Page/AJAX.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Page/AJAX.php
b/CRM/Contact/Page/AJAX.php
index 3e9f3c1600532cf257921f13cfa1fa7c676b81ea..d8b194c29112339fc3b12c497919ae6d14f79bfb 100644
(file)
--- a/
CRM/Contact/Page/AJAX.php
+++ b/
CRM/Contact/Page/AJAX.php
@@
-523,6
+523,7
@@
ORDER BY sort_name ";
*
*/
static function deleteCustomValue() {
+ header('Content-Type: text/plain');
$customValueID = CRM_Utils_Type::escape($_REQUEST['valueID'], 'Positive');
$customGroupID = CRM_Utils_Type::escape($_REQUEST['groupID'], 'Positive');
@@
-631,6
+632,8
@@
ORDER BY sort_name ";
list($displayName,
$userEmail
) = CRM_Contact_BAO_Contact_Location::getEmailDetails($contactID);
+
+ header('Content-Type: text/plain');
if ($userEmail) {
echo $userEmail;
}