From ed85373908296dc39ad9da051bd807523938d296 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Diaz Date: Wed, 12 Aug 2015 11:44:23 +0200 Subject: [PATCH] Fixed error when user try to create a recon task. Ticket #2594 --- pandora_console/godmode/servers/manage_recontask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/servers/manage_recontask.php b/pandora_console/godmode/servers/manage_recontask.php index 47ea18ddda..83ba33d6f5 100644 --- a/pandora_console/godmode/servers/manage_recontask.php +++ b/pandora_console/godmode/servers/manage_recontask.php @@ -240,7 +240,7 @@ if (isset($_GET["create"])) { $reason = __("Network provided is not correct"); } - elseif ($id_recon_script != 'NULL') { + elseif (!empty($id_recon_script)) { $result = db_process_sql_insert('trecon_task', $values); } else{