mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update call_recordings.php (#4959)
This commit is contained in:
@@ -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 ";
|
||||||
|
|||||||
Reference in New Issue
Block a user