Index: trunk/extensions/DonationInterface/payflowpro_gateway/extras/minfraud/minfraud.body.php |
— | — | @@ -199,7 +199,9 @@ |
200 | 200 | $newdata[ $value ] = substr( $data[ $value ], 0, 6 ); |
201 | 201 | break; |
202 | 202 | case "country": |
203 | | - $newdata[ $value ] = $country_codes[ $data[ $value ]]; |
| 203 | + if ( array_key_exists( $value, $data ) ) { |
| 204 | + $newdata[ $value ] = $country_codes[ $data[ $value ]]; |
| 205 | + } |
204 | 206 | break; |
205 | 207 | default: |
206 | 208 | $newdata[ $value ] = $data[ $value ]; |