Merge pull request #5804 from winsock/patch-10

Fix bulk device imports with TFTP path enabled
This commit is contained in:
FusionPBX
2021-03-12 10:02:10 -07:00
committed by GitHub

View File

@@ -357,6 +357,12 @@
$database->save($array);
//$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
header("Location: devices.php");