mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
lcr_currency wrong set
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -236,7 +236,6 @@ else {
|
||||
}
|
||||
}
|
||||
unset($prep_statement, $result);
|
||||
|
||||
//limit the number of results
|
||||
if ($num_rows > $_SESSION['cdr']['limit']['numeric']) {
|
||||
$num_rows = $_SESSION['cdr']['limit']['numeric'];
|
||||
@@ -310,4 +309,4 @@ else {
|
||||
$row_style["1"] = "row_style1";
|
||||
$row_style["2"] = "row_style2";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user