mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
avoid process csv while updating task with no csv changes
This commit is contained in:
parent
4cf121b45a
commit
748582509a
@ -308,7 +308,7 @@ class HostDevices extends Wizard
|
||||
$interval = get_parameter('interval', 0);
|
||||
|
||||
if ($network_csv_enabled) {
|
||||
if (isset($_FILES['network_csv']['type'])) {
|
||||
if (empty($_FILES['network_csv']['type']) === false) {
|
||||
if ($_FILES['network_csv']['type'] != 'text/csv'
|
||||
&& $_FILES['network_csv']['type'] != 'text/plain'
|
||||
&& $_FILES['network_csv']['type'] != 'application/octet-stream'
|
||||
|
Loading…
x
Reference in New Issue
Block a user