Update xml_cdr_inc.php

This commit is contained in:
FusionPBX 2016-09-30 01:00:55 -06:00 committed by GitHub
parent f104acbb2b
commit 7bfcf7eb39
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@
if ($rows_per_page > 0) {
if ($_SESSION['cdr']['count']['boolean'] == "true") {
//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;
$prep_statement = $db->prepare(check_sql($sql));
if ($prep_statement) {