We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1086cb3 commit f7eb9a8Copy full SHA for f7eb9a8
src/RestController.php
@@ -877,8 +877,8 @@ protected function _detect_api_key()
877
$ip_address = $this->input->ip_address();
878
$found_address = false;
879
880
- foreach ($list_ip_addresses as $ip_address) {
881
- if ($ip_address === trim($ip_address)) {
+ foreach ($list_ip_addresses as $list_ip) {
+ if ($ip_address === trim($list_ip)) {
882
// there is a match, set the the value to TRUE and break out of the loop
883
$found_address = true;
884
break;
0 commit comments