Fixed problems of header response of ajax. Tiquet: #2630
(cherry picked from commit d516fcefa6
)
This commit is contained in:
parent
59d4b9d1f0
commit
34a6fc7ef0
|
@ -83,6 +83,10 @@ if (is_ajax ()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( https_is_running() ) {
|
||||||
|
header('Content-type: application/json');
|
||||||
|
}
|
||||||
|
|
||||||
if ($filter_agents_json != '') {
|
if ($filter_agents_json != '') {
|
||||||
$filter['id_agente'] = json_decode(io_safe_output($filter_agents_json), true);
|
$filter['id_agente'] = json_decode(io_safe_output($filter_agents_json), true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue