From 55bf04f016169c5fbf3fe622827cff4c0510c54c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 27 Jan 2022 00:11:50 -0700 Subject: [PATCH] Device lines label is null set the value to the display name --- app/devices/app_defaults.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/devices/app_defaults.php b/app/devices/app_defaults.php index 5d57908410..094476902a 100644 --- a/app/devices/app_defaults.php +++ b/app/devices/app_defaults.php @@ -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); } ?>