From 34a6fc7ef00246ddca739e4c2281d773e2cdc29c Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Thu, 10 Sep 2015 12:00:33 +0200 Subject: [PATCH] Fixed problems of header response of ajax. Tiquet: #2630 (cherry picked from commit d516fcefa6f2afcdc28097fb1b291bfe52df39bb) --- pandora_console/godmode/groups/group_list.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 5239583b72..c22b1f2ee4 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -83,6 +83,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); }