Update messages_log.php (#4969)
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) 2016-2018
|
Portions created by the Initial Developer are Copyright (C) 2016-2019
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -112,10 +112,12 @@
|
|||||||
if ($_GET['show'] == "all" && permission_exists('message_all')) {
|
if ($_GET['show'] == "all" && permission_exists('message_all')) {
|
||||||
$param .= "&show=all";
|
$param .= "&show=all";
|
||||||
}
|
}
|
||||||
$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
|
||||||
$sql = str_replace('count(*)', '*', $sql);
|
$sql = str_replace('count(*)', '*', $sql);
|
||||||
|
|||||||
Reference in New Issue
Block a user