| 65 | | if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { |
|---|
| | 65 | $base_currency = strtoupper($GLOBALS['A2B']->config['global']['base_currency']); |
|---|
| | 66 | |
|---|
| | 67 | if($my_currency ='Selected Currency' && in_array($base_currency,array('CAD', 'EUR', 'GBP', 'JPY', 'USD')) ){ |
|---|
| | 68 | $my_currency = $base_currency; |
|---|
| | 69 | } |
|---|
| | 70 | elseif (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { |
|---|
| 89 | | if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { |
|---|
| | 94 | $base_currency = strtoupper($GLOBALS['A2B']->config['global']['base_currency']); |
|---|
| | 95 | if($my_currency =='Selected Currency' && in_array($base_currency,array('CAD', 'EUR', 'GBP', 'JPY', 'USD')) ){ |
|---|
| | 96 | $my_currency = $base_currency; |
|---|
| | 97 | } |
|---|
| | 98 | elseif (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD'))) { |
|---|