drag drop update
This commit is contained in:
@@ -119,6 +119,9 @@ function copyDevicePortsFromType($sql, $deviceId, $deviceTypeId)
|
||||
}
|
||||
|
||||
$portTypeId = isset($port['port_type_id']) ? (int)$port['port_type_id'] : null;
|
||||
if ($portTypeId !== null && $portTypeId <= 0) {
|
||||
$portTypeId = null;
|
||||
}
|
||||
|
||||
if ($portTypeId === null) {
|
||||
$sql->set(
|
||||
|
||||
Reference in New Issue
Block a user