Update ring_group_forward.php (#4970)
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) 2013-2017
|
Portions created by the Initial Developer are Copyright (C) 2013-2019
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -132,10 +132,12 @@
|
|||||||
//prepare to page the results
|
//prepare to page the results
|
||||||
$rows_per_page = $is_included ? 10 : (is_numeric($_SESSION['domain']['paging']['numeric']) ? $_SESSION['domain']['paging']['numeric'] : 50);
|
$rows_per_page = $is_included ? 10 : (is_numeric($_SESSION['domain']['paging']['numeric']) ? $_SESSION['domain']['paging']['numeric'] : 50);
|
||||||
$param = "";
|
$param = "";
|
||||||
$page = $_GET['page'];
|
if (isset($_GET['page'])) {
|
||||||
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
|
$page = $_GET['page'];
|
||||||
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
|
if (strlen($page) == 0) { $page = 0; $_GET['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
|
||||||
if (permission_exists('ring_group_add') || permission_exists('ring_group_edit')) {
|
if (permission_exists('ring_group_add') || permission_exists('ring_group_edit')) {
|
||||||
@@ -232,4 +234,4 @@
|
|||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user