lcr_currency wrong set
This commit is contained in:
@@ -265,7 +265,6 @@
|
|||||||
$db2->sql = $sql_rate;
|
$db2->sql = $sql_rate;
|
||||||
$db2->result = $db2->execute();
|
$db2->result = $db2->execute();
|
||||||
// print_r($db2->result);
|
// 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']):
|
$lcr_currency = (strlen($db2->result[0]['currency'])?check_str($db2->result[0]['currency']):
|
||||||
(strlen($_SESSION['billing']['currency']['text'])?$_SESSION['billing']['currency']['text']:'USD')
|
(strlen($_SESSION['billing']['currency']['text'])?$_SESSION['billing']['currency']['text']:'USD')
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -236,7 +236,6 @@ else {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset($prep_statement, $result);
|
unset($prep_statement, $result);
|
||||||
|
|
||||||
//limit the number of results
|
//limit the number of results
|
||||||
if ($num_rows > $_SESSION['cdr']['limit']['numeric']) {
|
if ($num_rows > $_SESSION['cdr']['limit']['numeric']) {
|
||||||
$num_rows = $_SESSION['cdr']['limit']['numeric'];
|
$num_rows = $_SESSION['cdr']['limit']['numeric'];
|
||||||
|
|||||||
Reference in New Issue
Block a user