lcr_currency wrong set

This commit is contained in:
luis daniel lucio quiroz
2015-05-01 17:39:13 +00:00
parent 3526897a0c
commit 9f346abfd0
2 changed files with 2 additions and 4 deletions

View File

@@ -265,7 +265,6 @@
$db2->sql = $sql_rate;
$db2->result = $db2->execute();
// print_r($db2->result);
$lcr_currency = (strlen($db2->result[0]['currency'])?check_str($db2->result[0]['currency']):'USD');
$lcr_currency = (strlen($db2->result[0]['currency'])?check_str($db2->result[0]['currency']):
(strlen($_SESSION['billing']['currency']['text'])?$_SESSION['billing']['currency']['text']:'USD')
);
@@ -597,4 +596,4 @@
fclose($fp);
}
?>
?>