From c7809b429fddfa942d821158c344fd96df220c4c Mon Sep 17 00:00:00 2001 From: Jorge Rincon Date: Wed, 16 Aug 2023 13:46:19 +0200 Subject: [PATCH] #11871 Fixed SQL query --- pandora_console/godmode/wizards/DiscoveryTaskList.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php index 36a21ecf71..af88c3e51f 100644 --- a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php +++ b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php @@ -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")',