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:
70dd31e
)
CRM-15926 - CRM_Pledge_Page_AJAX - Output JSON headers
author
Tim Otten
<totten@civicrm.org>
Tue, 10 Feb 2015 13:20:32 +0000
(
05:20
-0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 10 Feb 2015 13:22:02 +0000
(
05:22
-0800)
CRM/Pledge/Page/AJAX.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Pledge/Page/AJAX.php
b/CRM/Pledge/Page/AJAX.php
index f242f79dd374ee998013e8a9b7a67e443ffac4ff..7faeff9b3c7771651eb1429a74e3a108b9f089db 100644
(file)
--- a/
CRM/Pledge/Page/AJAX.php
+++ b/
CRM/Pledge/Page/AJAX.php
@@
-83,6
+83,7
@@
WHERE {$whereClause}
);
}
+ header('Content-Type: application/json');
echo CRM_Utils_JSON::encode($elements, 'value');
CRM_Utils_System::civiExit();
}