Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

153
 
199
 
199
 
currencies.php
_> 11 <?php
  22 /*
<> 3 -  $Id: currencies.php 153 2005-08-04 12:57:59Z hpdl $
   3+  $Id: currencies.php 199 2005-09-22 15:56:13Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
3434 
  3535 // class methods
  3636     function format($number, $currency_code = '', $currency_value = '') {
<> 37 -      global $osC_Session;
  38 -
3937       if (empty($currency_code) || ($this->exists($currency_code) == false)) {
<> 40 -        $currency_code = ($osC_Session->exists('currency') ? $osC_Session->value('currency') : DEFAULT_CURRENCY);
   38+        $currency_code = (isset($_SESSION['currency']) ? $_SESSION['currency'] : DEFAULT_CURRENCY);
<_ 4139       }
  4240 
  4341       if (empty($currency_value) || (is_numeric($currency_value) == false)) {