minor fix
This commit is contained in:
parent
47857de79f
commit
95d7a5d267
|
@ -308,6 +308,7 @@ class HostDevices extends Wizard
|
|||
$interval = get_parameter('interval', 0);
|
||||
|
||||
if ($network_csv_enabled) {
|
||||
if (isset($_FILES['network_csv']['type'])) {
|
||||
if ($_FILES['network_csv']['type'] != 'text/csv'
|
||||
&& $_FILES['network_csv']['type'] != 'text/plain'
|
||||
&& $_FILES['network_csv']['type'] != 'application/octet-stream'
|
||||
|
@ -354,6 +355,7 @@ class HostDevices extends Wizard
|
|||
);
|
||||
$network = join(',', $network);
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($task_id) === true) {
|
||||
// We're updating this task.
|
||||
|
|
Loading…
Reference in New Issue