Update xml_cdr_inc.php

This commit is contained in:
FusionPBX 2018-05-01 03:16:40 -06:00 committed by GitHub
parent 5a24429edd
commit b82d148beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@
//prepare to page the results
//$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50; //set on the page that includes this page
if (is_numeric($_GET['page'])) { $page = $_GET['page']; }
if (!isset($page)) { $page = 0; $_GET['page'] = 0; }
if (!isset($_GET['page'])) { $page = 0; $_GET['page'] = 0; }
$offset = $rows_per_page * $page;
//get the results from the db