  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: currencies.php 484 2006-04-17 23:32:41Z hpdl $ |
| |
| 3 | + | $Id: currencies.php 500 2006-04-18 06:27:10Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
66 | 66 | | |
| |
67 | 67 | | $price = tep_round($price, $this->currencies[DEFAULT_CURRENCY]['decimal_places']); |
| |
68 | 68 | | |
  |
69 | | - | if ( (DISPLAY_PRICE_WITH_TAX == 'true') && ($tax_class_id > 0) ) { |
| |
| 69 | + | if ( (DISPLAY_PRICE_WITH_TAX == '1') && ($tax_class_id > 0) ) { |
  |
70 | 70 | | $price += tep_round($price * ($osC_Tax->getTaxRate($tax_class_id) / 100), $this->currencies[DEFAULT_CURRENCY]['decimal_places']); |
| |
71 | 71 | | } |
| |
72 | 72 | | |