Index: trunk/extensions/DonationInterface/gateway_forms/Form.php |
— | — | @@ -202,6 +202,8 @@ |
203 | 203 | |
204 | 204 | // generate a dropdown option for each country |
205 | 205 | foreach ( $countries as $iso_value => $full_name ) { |
| 206 | + // Note: If the server has the php5-geoip package, $this->form_data['country'] will |
| 207 | + // always have a value. |
206 | 208 | if ( $this->form_data['country'] ) { |
207 | 209 | $selected = ( $iso_value == $this->form_data['country'] ) ? true : false; |
208 | 210 | } else { |