Skip to content

Commit

Permalink
line got removed in merge doh
Browse files Browse the repository at this point in the history
  • Loading branch information
tamw-wnet committed Jun 28, 2024
1 parent 563dc2d commit ddc00fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/class-pbs-check-dma.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ public function get_location_from_ip($client_ip) {
error_log("parse error");
return array('errors' => $response);
}
$zipcode = $override_zipcode ? $override_zipcode : false;
$zipcode = !empty($item['zipcode']) ? (string) $item['zipcode'] : '';
$zipcode = $override_zipcode ? $override_zipcode : $zipcode;
$state = '';
$county = '';
if (!$override_zipcode && (empty($item['$links']) || !is_array($item['$links']))) {
Expand Down

0 comments on commit ddc00fe

Please sign in to comment.