Merge branch 'ent-10009-no-se-lista-ipam-recon-al-crear-custom-netscan' into 'develop'

Ent 10009 no se lista ipam recon al crear custom netscan

See merge request artica/pandorafms!5432
This commit is contained in:
Rafael Ameijeiras 2023-01-20 07:26:55 +00:00
commit 2110be0152
1 changed files with 1 additions and 3 deletions

View File

@ -606,15 +606,13 @@ class CustomNetScan extends Wizard
}
if (isset($this->page) === true && $this->page === 1) {
$name_ipam = 'IPAM Recon';
// Recon script.
$form['inputs'][] = [
'label' => __('Recon script'),
'arguments' => [
'type' => 'select_from_sql',
'sql' => sprintf(
'SELECT id_recon_script, name FROM trecon_script WHERE name <> "%s" ORDER BY name',
$name_ipam
'SELECT id_recon_script, name FROM trecon_script ORDER BY name'
),
'name' => 'id_recon_script',
'selected' => $this->task['id_recon_script'],