From a04ee72d217edd02c08bb41e3eeeceb6693bd4ed Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 16 Feb 2026 15:01:09 -0700 Subject: [PATCH] Rename cidr variable to cidr_value --- resources/cidr.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/cidr.php b/resources/cidr.php index 33218278fe..2eaa07349e 100644 --- a/resources/cidr.php +++ b/resources/cidr.php @@ -30,12 +30,13 @@ $found = false; $cidr_array = $settings->get('domain', 'cidr'); if (!empty($cidr_array)) { - foreach($cidr_array as $cidr) { + foreach($cidr_array as $cidr_value) { if (check_cidr($cidr, $_SERVER['REMOTE_ADDR'])) { $found = true; break; } } + unset($cidr_value); } if (!$found) { echo "access denied";