Use the sessions get method to get rows_per_page
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
$num_rows = $database->select($sql, $parameters ?? null, 'column');
|
||||
|
||||
//prepare to page the results
|
||||
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
||||
$rows_per_page = $settings->get('domain', 'paging', 50);
|
||||
$param = "&search=".urlencode($search);
|
||||
if ($show == "all" && permission_exists('phrase_all')) {
|
||||
$param .= "&show=all";
|
||||
|
||||
Reference in New Issue
Block a user