Fixed an SQL error when serving the agent status tooltip
(cherry picked from commit 554fb7aa2c
)
This commit is contained in:
parent
d967b4eed9
commit
a19f3939e9
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue