From 1e8c510874b792f3c84183dab18defc53670580c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 7 Jun 2018 12:20:33 -0600 Subject: [PATCH] Update registrations.php --- app/registrations/resources/classes/registrations.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/registrations/resources/classes/registrations.php b/app/registrations/resources/classes/registrations.php index e23d83afb4..4f5e241eb3 100644 --- a/app/registrations/resources/classes/registrations.php +++ b/app/registrations/resources/classes/registrations.php @@ -105,9 +105,9 @@ if (!class_exists('registrations')) { //get network-ip to url or blank if(isset($row['network-ip'])) { - $registrations[$id]['network-ip'] = "".$row['network-ip'].""; + $registrations[$id]['network-ip'] = $row['network-ip']; } else { - $registrations[$id]['network-ip'] = " "; + $registrations[$id]['network-ip'] = ''; } //get the LAN IP address if it exists replace the external ip @@ -125,9 +125,9 @@ if (!class_exists('registrations')) { //required for GIGASET Sculpture CL750A puts _ in it's lan ip account $lan_ip = preg_replace('/_/', '.', $lan_ip); } - $registrations[$id]['lan-ip'] = "".$lan_ip.""; + $registrations[$id]['lan-ip'] = $lan_ip; } else { - $registrations[$id]['lan-ip'] = " "; + $registrations[$id]['lan-ip'] = ''; } //remove unrelated domains