From 793a58ba1c31d4125bd85b6a638a1c81f225b8e4 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 12 Jun 2025 10:16:03 -0600 Subject: [PATCH] Update registrations.php --- app/registrations/resources/classes/registrations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/registrations/resources/classes/registrations.php b/app/registrations/resources/classes/registrations.php index 871489a945..8c63d1d18d 100644 --- a/app/registrations/resources/classes/registrations.php +++ b/app/registrations/resources/classes/registrations.php @@ -218,7 +218,7 @@ if (isset($call_id_array[1])) { $agent = $row['agent']; $lan_ip = $call_id_array[1]; - if (!empty($agent) && false !== stripos($agent, 'grandstream') || false !== stripos($agent, 'ooma')) { + if (!empty($agent) && (false !== stripos($agent, 'grandstream') || false !== stripos($agent, 'ooma'))) { $lan_ip = str_ireplace( array('A','B','C','D','E','F','G','H','I','J'), array('0','1','2','3','4','5','6','7','8','9'),