diff --git a/pandora_console/include/class/AgentsAlerts.class.php b/pandora_console/include/class/AgentsAlerts.class.php
index 41a75ffa8a..b63860f84d 100644
--- a/pandora_console/include/class/AgentsAlerts.class.php
+++ b/pandora_console/include/class/AgentsAlerts.class.php
@@ -651,7 +651,7 @@ class AgentsAlerts extends HTML
$alias = db_get_row('tagente', 'id_agente', $agent['id_agente']);
echo '
';
// Name of the agent.
- echo ''.$alias['alias'].' | ';
+ echo ''.$alias['alias'].' | ';
// Alerts of the agent.
foreach ($templates as $tid => $tname) {
$anyfired = 0;
diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php
index adb1fd9b9d..cde4a9e867 100644
--- a/pandora_console/include/functions_html.php
+++ b/pandora_console/include/functions_html.php
@@ -467,10 +467,9 @@ function html_print_select_groups(
$output = '';
global $config;
+ $select2_css = 'select2.min';
- if ($config['style'] === 'pandora') {
- $select2_css = 'select2.min';
- } else {
+ if ($config['style'] === 'pandora_black') {
$select2_css = 'select2_dark.min';
}