Merge pull request #5804 from winsock/patch-10
Fix bulk device imports with TFTP path enabled
This commit is contained in:
commit
ea800eefa8
|
|
@ -357,6 +357,12 @@
|
||||||
$database->save($array);
|
$database->save($array);
|
||||||
//$message = $database->message;
|
//$message = $database->message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strlen($_SESSION['provision']['path']['text']) > 0) {
|
||||||
|
$prov = new provision;
|
||||||
|
$prov->domain_uuid = $domain_uuid;
|
||||||
|
$response = $prov->write();
|
||||||
|
}
|
||||||
|
|
||||||
//send the redirect header
|
//send the redirect header
|
||||||
header("Location: devices.php");
|
header("Location: devices.php");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue