From 65d86d4ce61b2dfc2061ed42fc5c7be32924ea98 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 10 Aug 2015 04:48:14 +0000 Subject: [PATCH] fixed a pagination bug when showing log messages for a user --- codepot/src/codepot/controllers/site.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codepot/src/codepot/controllers/site.php b/codepot/src/codepot/controllers/site.php index 2a917d08..540abd57 100644 --- a/codepot/src/codepot/controllers/site.php +++ b/codepot/src/codepot/controllers/site.php @@ -508,7 +508,7 @@ class Site extends Controller $pagecfg['base_url'] = site_url() . "/site/userlog/$userid/"; $pagecfg['total_rows'] = $num_log_entries; $pagecfg['per_page'] = CODEPOT_MAX_LOGS_PER_PAGE; - $pagecfg['uri_segment'] = 3; + $pagecfg['uri_segment'] = 4; $pagecfg['first_link'] = $this->lang->line('First'); $pagecfg['last_link'] = $this->lang->line('Last');