From 5c696b6eb3bf312b7668d6ebf51089d67721dd51 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 13 Mar 2024 11:12:48 -0600 Subject: [PATCH] Add a description for the change --- app/devices/device_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index bf68462055..dcdef7e80e 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -1239,7 +1239,7 @@ if (empty($row['server_address'])) { $row['server_address'] = $_SESSION['domain_name']; } } if (empty($row['sip_transport'])) { $row['sip_transport'] = $_SESSION['provision']['line_sip_transport']['text']; } - if (!isset($row['sip_port'])) { $row['sip_port'] = $_SESSION['provision']['line_sip_port']['numeric']; } + if (!isset($row['sip_port'])) { $row['sip_port'] = $_SESSION['provision']['line_sip_port']['numeric']; } //used !isset to support a value of 0 as empty the empty function considers a value of 0 as empty. if (empty($row['register_expires'])) { $row['register_expires'] = $_SESSION['provision']['line_register_expires']['numeric']; } //add the primary key uuid