mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed problems of header response of ajax. Tiquet: #2630
This commit is contained in:
parent
9e32dd439e
commit
d516fcefa6
@ -85,6 +85,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…
x
Reference in New Issue
Block a user