#11871 Fixed SQL query
This commit is contained in:
parent
a12ea4f44c
commit
c7809b429f
|
@ -575,7 +575,7 @@ class DiscoveryTaskList extends HTML
|
||||||
$recon_tasks = db_get_all_rows_sql(
|
$recon_tasks = db_get_all_rows_sql(
|
||||||
sprintf(
|
sprintf(
|
||||||
'SELECT tasks.*, apps.section AS section, apps.short_name AS short_name
|
'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
|
LEFT JOIN tdiscovery_apps apps ON tasks.id_app = apps.id_app
|
||||||
WHERE id_group IN (%s) AND
|
WHERE id_group IN (%s) AND
|
||||||
(type IN (%s) OR section = "%s")',
|
(type IN (%s) OR section = "%s")',
|
||||||
|
|
Loading…
Reference in New Issue