Update registrations.php add a comment so we know why its there.

This commit is contained in:
FusionPBX
2018-01-30 21:09:33 -07:00
committed by GitHub
parent 1157c2ba5d
commit 2d200fd7a1

View File

@@ -123,9 +123,10 @@ if (!class_exists('registrations')) {
array('0','1','2','3','4','5','6','7','8','9'),
$lan_ip);
}
elseif(1 === preg_match('/\ACL750A/', $agent)) {
elseif(1 === preg_match('/\ACL750A/', $agent)) {
//required for GIGASET Sculpture CL750A puts _ in it's lan ip account
$lan_ip = preg_replace('/_/', '.', $lan_ip);
}
}
$registrations[$id]['lan-ip'] = "<a href='http://".$lan_ip."' target='_blank'>".$lan_ip."</a>";
} else {
$registrations[$id]['lan-ip'] = "&nbsp;";