  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: payment.php 5 2005-01-31 01:40:15Z hpdl $ |
| |
| 3 | + | $Id: payment.php 146 2005-07-31 15:09:51Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
47 | 47 | | |
| |
48 | 48 | | // if there is only one payment method, select it as default because in |
| |
49 | 49 | | // checkout_confirmation.php the $payment variable is being assigned the |
  |
50 | | - | // $_POST['payment'] value which will be empty (no radio button selection possible) |
| |
| 50 | + | // $_POST['payment_mod_sel'] value which will be empty (no radio button selection possible) |
  |
51 | 51 | | if ( (tep_count_payment_modules() == 1) && (!isset($GLOBALS[$osC_Session->value('payment')]) || (isset($GLOBALS[$osC_Session->value('payment')]) && !is_object($GLOBALS[$osC_Session->value('payment')]))) ) { |
| |
52 | 52 | | $osC_Session->set('payment', $include_modules[0]['class']); |
| |
53 | 53 | | } |