mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 02:46:30 +00:00
Fix bulk device imports with TFTP path enabled
If you bulk imported devices and had the TFTP path set the configuration files would not be written out to the TFTP path.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user