Fixed error when user try to create a recon task. Ticket #2594

This commit is contained in:
Arturo Gonzalez Diaz 2015-08-12 11:44:23 +02:00
parent a338458ec2
commit ed85373908
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ if (isset($_GET["create"])) {
$reason = __("Network provided is not correct"); $reason = __("Network provided is not correct");
} }
elseif ($id_recon_script != 'NULL') { elseif (!empty($id_recon_script)) {
$result = db_process_sql_insert('trecon_task', $values); $result = db_process_sql_insert('trecon_task', $values);
} }
else{ else{