aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_inactive.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_inactive.php')
-rwxr-xr-xphpBB/includes/acp/acp_inactive.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_inactive.php b/phpBB/includes/acp/acp_inactive.php
index 73872c9b72..5740e8af9b 100755
--- a/phpBB/includes/acp/acp_inactive.php
+++ b/phpBB/includes/acp/acp_inactive.php
@@ -143,6 +143,7 @@ class acp_inactive
'action' => $action,
'mark' => $mark,
'submit' => 1,
+ 'start' => $start,
);
confirm_box(false, $user->lang['CONFIRM_OPERATION'], build_hidden_fields($s_hidden_fields));
}
@@ -166,7 +167,7 @@ class acp_inactive
if ($row = $db->sql_fetchrow($result))
{
// Send the messages
- include_once($phpbb_root_path . 'includes/functions_messenger.'.$phpEx);
+ include_once($phpbb_root_path . 'includes/functions_messenger.' . $phpEx);
$messenger = new messenger();
$usernames = array();
@@ -216,7 +217,7 @@ class acp_inactive
$inactive = array();
$inactive_count = 0;
- view_inactive_users($inactive, $inactive_count, $config['topics_per_page'], $start, $sql_where, $sql_sort);
+ $start = view_inactive_users($inactive, $inactive_count, $config['topics_per_page'], $start, $sql_where, $sql_sort);
foreach ($inactive as $row)
{
@@ -246,6 +247,8 @@ class acp_inactive
'S_SORT_DIR' => $s_sort_dir,
'S_ON_PAGE' => on_page($inactive_count, $config['topics_per_page'], $start),
'PAGINATION' => generate_pagination($this->u_action . "&$u_sort_param", $inactive_count, $config['topics_per_page'], $start, true),
+
+ 'U_ACTION' => $this->u_action . '&start=' . $start,
));
$this->tpl_name = 'acp_inactive';