diff --git a/pandora_console/godmode/agentes/modificar_agente.php b/pandora_console/godmode/agentes/modificar_agente.php index 26b131d9ad..b435c69502 100644 --- a/pandora_console/godmode/agentes/modificar_agente.php +++ b/pandora_console/godmode/agentes/modificar_agente.php @@ -398,6 +398,8 @@ $selectOsUp = false; $selectOsDown = false; $selectGroupUp = false; $selectGroupDown = false; +$selectRemoteUp = false; +$selectRemoteDown = false; switch ($sortField) { case 'remote': switch ($sort) { @@ -627,7 +629,7 @@ $sql = sprintf( ); $agents = db_get_all_rows_sql($sql); - +$custom_font_size = ''; // Prepare pagination. // ui_pagination($total_agents, "index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&group_id=$ag_group&recursion=$recursion&search=$search&sort_field=$sortField&sort=$sort&disabled=$disabled&os=$os", $offset); if ($agents !== false) { @@ -895,7 +897,7 @@ if ($agents !== false) { $ag_group, $recursion, $search, - $offsetArg, + '', $sortField, $sort, $disabled @@ -925,7 +927,7 @@ if ($agents !== false) { $ag_group, $recursion, $search, - $offsetArg, + '', $sortField, $sort, $disabled diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php index ccf361e8c7..0639b0ffea 100644 --- a/pandora_console/operation/agentes/estado_agente.php +++ b/pandora_console/operation/agentes/estado_agente.php @@ -298,6 +298,8 @@ $selectDescriptionUp = false; $selectDescriptionDown = false; $selectLastContactUp = false; $selectLastContactDown = false; +$selectRemoteUp = false; +$selectRemoteDown = false; $order = null; switch ($sortField) { @@ -674,13 +676,15 @@ if (empty($agents)) { $agents = []; } -if ($config['language'] == 'ja' - || $config['language'] == 'zh_CN' - || $own_info['language'] == 'ja' - || $own_info['language'] == 'zh_CN' +if ($config['language'] === 'ja' + || $config['language'] === 'zh_CN' + || $own_info['language'] === 'ja' + || $own_info['language'] === 'zh_CN' ) { // Adds a custom font size for Japanese and Chinese language. $custom_font_size = 'custom_font_size'; +} else { + $custom_font_size = ''; } // Urls to sort the table.