diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2011-07-14 04:05:20 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2011-07-14 04:05:20 +0200 |
| commit | 8ebc8ec18277aea45079da3972e1ae0a3eb139ef (patch) | |
| tree | e174ae4d73b8ef318146d6ad354a625ed456c996 /phpBB/includes/acp/acp_inactive.php | |
| parent | e4707a8be75263e610b00b3d600144e797f576d9 (diff) | |
| download | forums-8ebc8ec18277aea45079da3972e1ae0a3eb139ef.tar forums-8ebc8ec18277aea45079da3972e1ae0a3eb139ef.tar.gz forums-8ebc8ec18277aea45079da3972e1ae0a3eb139ef.tar.bz2 forums-8ebc8ec18277aea45079da3972e1ae0a3eb139ef.tar.xz forums-8ebc8ec18277aea45079da3972e1ae0a3eb139ef.zip | |
[ticket/5506] Do not display an empty last page after deleting logs.
The fix is copied from view_inactive_users().
Also add keywords and sort parameters to url for deleting logs and inactive users.
And finally save some queries if there are no logs/users to display anyway
Diffstat (limited to 'phpBB/includes/acp/acp_inactive.php')
| -rw-r--r-- | phpBB/includes/acp/acp_inactive.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_inactive.php b/phpBB/includes/acp/acp_inactive.php index 1a12c4967c..c93cbc457f 100644 --- a/phpBB/includes/acp/acp_inactive.php +++ b/phpBB/includes/acp/acp_inactive.php @@ -301,7 +301,7 @@ class acp_inactive 'PAGINATION' => generate_pagination($this->u_action . "&$u_sort_param&users_per_page=$per_page", $inactive_count, $per_page, $start, true), 'USERS_PER_PAGE' => $per_page, - 'U_ACTION' => $this->u_action . '&start=' . $start, + 'U_ACTION' => $this->u_action . "&$u_sort_param&users_per_page=$per_page&start=$start", )); $this->tpl_name = 'acp_inactive'; |
