Update xml_cdr_inc.php
This commit is contained in:
parent
aa21a1c4a5
commit
7887489078
|
|
@ -283,7 +283,7 @@
|
||||||
if ($rows_per_page > 0) {
|
if ($rows_per_page > 0) {
|
||||||
if ($_SESSION['cdr']['count']['boolean'] == "true") {
|
if ($_SESSION['cdr']['count']['boolean'] == "true") {
|
||||||
//get the number of rows in the v_xml_cdr
|
//get the number of rows in the v_xml_cdr
|
||||||
$sql = "select count(*) as num_rows from v_xml_cdr ";
|
$sql = "select count(uuid) as num_rows from v_xml_cdr ";
|
||||||
$sql .= "where domain_uuid = '".$domain_uuid."' ".$sql_where;
|
$sql .= "where domain_uuid = '".$domain_uuid."' ".$sql_where;
|
||||||
$prep_statement = $db->prepare(check_sql($sql));
|
$prep_statement = $db->prepare(check_sql($sql));
|
||||||
if ($prep_statement) {
|
if ($prep_statement) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue