Index: trunk/extensions/DonationInterface/gateway_forms/RapidHtml.php |
— | — | @@ -88,6 +88,11 @@ |
89 | 89 | $this->loadValidateJs(); |
90 | 90 | |
91 | 91 | $country = $wgRequest->getText( 'country', '' ); |
| 92 | + // Get error passed via query string |
| 93 | + $error = $wgRequest->getText( 'error' ); |
| 94 | + if ( $error ) { |
| 95 | + $form_errors['general'][] = $error; |
| 96 | + } |
92 | 97 | |
93 | 98 | if ( $country != '' ){ |
94 | 99 | try{ |