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{