mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix incorrect Content-Type in JSON callback responses #2448
This commit is contained in:
parent
4d5fac5d77
commit
8c5f96f8c5
2 changed files with 10 additions and 4 deletions
|
|
@ -97,7 +97,7 @@ class DisplayHandler extends Handler
|
|||
}
|
||||
else
|
||||
{
|
||||
if($responseMethod == 'JSON' || $responseMethod == 'JS_CALLBACK' || isset($_SERVER['HTTP_X_AJAX_COMPAT']) || isset($_POST['_rx_ajax_compat']))
|
||||
if($responseMethod == 'JSON' || isset($_SERVER['HTTP_X_AJAX_COMPAT']) || isset($_POST['_rx_ajax_compat']))
|
||||
{
|
||||
self::_printJSONHeader();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue