Device lines label is null set the value to the display name

This commit is contained in:
FusionPBX 2022-01-27 00:11:50 -07:00 committed by GitHub
parent ecdbc1b8be
commit 55bf04f016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -252,7 +252,11 @@ if ($domains_processed == 1) {
}
unset($num_rows);
//where the device lines label is null set the value to the display name to maintain the original behavior
$sql = "update v_device_lines set label = display_name where label is null;\n";
$database->execute($sql);
unset($sql);
}
?>