mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed error in recon task (pandora with oracle db). Ticket #2640
This commit is contained in:
parent
0e60723b87
commit
2d7ae13c3f
@ -268,10 +268,11 @@ $table->data[5][1] = html_print_select_from_sql ($sql, "id_network_profile", $id
|
|||||||
$data[1] = '';
|
$data[1] = '';
|
||||||
$table->data[6][0] = "<b>" . __('Recon script') . "</b>";
|
$table->data[6][0] = "<b>" . __('Recon script') . "</b>";
|
||||||
|
|
||||||
$sql = 'SELECT id_recon_script, name
|
|
||||||
|
$sql = "SELECT id_recon_script, name
|
||||||
FROM trecon_script
|
FROM trecon_script
|
||||||
WHERE name <> "IPAM Recon"
|
WHERE name <> 'IPAM Recon'
|
||||||
ORDER BY name';
|
ORDER BY name";
|
||||||
if ($name_script != "IPAM Recon") {
|
if ($name_script != "IPAM Recon") {
|
||||||
$table->data[6][1] = html_print_select_from_sql ($sql, "id_recon_script", $id_recon_script, '', '', '', true);
|
$table->data[6][1] = html_print_select_from_sql ($sql, "id_recon_script", $id_recon_script, '', '', '', true);
|
||||||
$table->data[6][1] .= "<span id='spinner_recon_script' style='display: none;'>" . html_print_image ("images/spinner.gif", true) . "</span>";
|
$table->data[6][1] .= "<span id='spinner_recon_script' style='display: none;'>" . html_print_image ("images/spinner.gif", true) . "</span>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user