Update call_recordings.php (#4959)

This commit is contained in:
chansizzle
2019-12-18 20:16:10 -07:00
committed by FusionPBX
parent 5e3556e618
commit 39b8ac3486

View File

@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2018 Portions created by the Initial Developer are Copyright (C) 2018-2019
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.
Contributor(s): Contributor(s):
@@ -117,10 +117,12 @@
//prepare to page the results //prepare to page the results
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50; $rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
$param = ""; $param = "";
$page = $_REQUEST['page']; if (isset($_GET['page'])) {
if (strlen($page) == 0) { $page = 0; $_REQUEST['page'] = 0; } $page = $_REQUEST['page'];
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page); if (strlen($page) == 0) { $page = 0; $_REQUEST['page'] = 0; }
$offset = $rows_per_page * $page; list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
$offset = $rows_per_page * $page;
}
//get the list //get the list
$sql = "select * from v_call_recordings "; $sql = "select * from v_call_recordings ";