Skip to content

Commit 6b476f5

Browse files
authored
Merge pull request #4 from vachzar/vachzar-patch-1
Update Pagination.php
2 parents e7173c9 + 96eb99a commit 6b476f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/libraries/Pagination.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ public function create_links()
509509
$this->uri_segment = count($this->CI->uri->segment_array());
510510
}
511511

512-
$this->cur_page = $this->CI->uri->segment($this->uri_segment);
512+
$this->cur_page = $this->CI->uri->segment($this->uri_segment, '');
513513

514514
// Remove any specified prefix/suffix from the segment.
515515
if ($this->prefix !== '' OR $this->suffix !== '')

0 commit comments

Comments
 (0)