Fixed problems of header response of ajax. Tiquet: #2630

This commit is contained in:
m-lopez-f 2015-09-10 12:00:33 +02:00
parent 9e32dd439e
commit d516fcefa6
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ if (is_ajax ()) {
return;
}
if ( https_is_running() ) {
header('Content-type: application/json');
}
if ($filter_agents_json != '') {
$filter['id_agente'] = json_decode(io_safe_output($filter_agents_json), true);
}