mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed an SQL error when serving the agent status tooltip
This commit is contained in:
parent
d8a2976926
commit
554fb7aa2c
@ -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…
x
Reference in New Issue
Block a user