Update devices.php

This commit is contained in:
blackc2004 2015-12-09 14:01:35 -08:00
parent c9fee6c080
commit 492ea21445
1 changed files with 6 additions and 2 deletions

View File

@ -99,7 +99,11 @@ else {
//prepare to page the results
$rows_per_page = 150;
$param = "";
if ($_GET['showall'] && permission_exists('device_all')) {
$param = "&showall=true";
} else {
$param = "";
}
$page = $_GET['page'];
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page);
@ -271,4 +275,4 @@ else {
//include the footer
require_once "resources/footer.php";
?>
?>