Fixed an SQL error when serving the agent status tooltip

(cherry picked from commit 554fb7aa2c)
This commit is contained in:
Alejandro Gallardo Escobar 2015-03-18 12:26:45 +01:00
parent d967b4eed9
commit a19f3939e9
1 changed files with 10 additions and 10 deletions

View File

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