Index: trunk/extensions/DonationInterface/gateway_forms/TwoStepAmount.php |
— | — | @@ -24,9 +24,10 @@ |
25 | 25 | class Gateway_Form_TwoStepAmount extends Gateway_Form { |
26 | 26 | |
27 | 27 | public function __construct( &$form_data, &$form_errors, &$gateway ) { |
28 | | - $form_data['payment_method'] = 'bt'; |
29 | | - $form_data['payment_submethod'] = 'bt'; |
30 | 28 | |
| 29 | + $form_data['payment_method'] = empty($form_data['payment_method']) ? 'bt' : $form_data['payment_method']; |
| 30 | + $form_data['payment_submethod'] = empty($form_data['payment_submethod']) ? 'bt' : $form_data['payment_submethod']; |
| 31 | + |
31 | 32 | //$form_data['payment_method'] = 'rtbt'; |
32 | 33 | //$form_data['payment_submethod'] = 'rtbt_nordea_sweeden'; |
33 | 34 | |