Fixed an SQL error when serving the agent status tooltip

This commit is contained in:
Alejandro Gallardo Escobar 2015-03-18 12:26:45 +01:00
parent d8a2976926
commit 554fb7aa2c

View File

@ -473,7 +473,7 @@ if (is_ajax ()) {
$_user_tags = tags_get_user_tags($config['id_user'], 'RR'); $_user_tags = tags_get_user_tags($config['id_user'], 'RR');
$_sql_post = ''; $_sql_post = '';
if ($_user_tags !== false) { if (is_array($_user_tags) && !empty($_user_tags)) {
$_tags = implode(',', array_keys($_user_tags)); $_tags = implode(',', array_keys($_user_tags));