Merge branch 'ent-11871-error-sql-en-discovery-task-list-con-usuario-estandar-y-perfil-operator-read' into 'develop'

Ent 11871 error sql en discovery task list con usuario estandar y perfil operator read

See merge request artica/pandorafms!6340
This commit is contained in:
Rafael Ameijeiras 2023-08-18 06:49:48 +00:00
commit 43b9972aef
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ class DiscoveryTaskList extends HTML
$recon_tasks = db_get_all_rows_sql(
sprintf(
'SELECT tasks.*, apps.section AS section, apps.short_name AS short_name
FROM trecon_task
FROM trecon_task tasks
LEFT JOIN tdiscovery_apps apps ON tasks.id_app = apps.id_app
WHERE id_group IN (%s) AND
(type IN (%s) OR section = "%s")',