Skip to content

Commit f7eb9a8

Browse files
fixes #1027
1 parent 1086cb3 commit f7eb9a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RestController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -877,8 +877,8 @@ protected function _detect_api_key()
877877
$ip_address = $this->input->ip_address();
878878
$found_address = false;
879879

880-
foreach ($list_ip_addresses as $ip_address) {
881-
if ($ip_address === trim($ip_address)) {
880+
foreach ($list_ip_addresses as $list_ip) {
881+
if ($ip_address === trim($list_ip)) {
882882
// there is a match, set the the value to TRUE and break out of the loop
883883
$found_address = true;
884884
break;

0 commit comments

Comments
 (0)