prefix in pagination class #1516

Closed
schiller2k opened this Issue Jun 21, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Please add to the pagination class the removing page name prefix when receiving page number

if ($CI->uri->segment($this->uri_segment) != $base_page)
{
$this->cur_page = str_replace($this->prefix, '', $CI->uri->segment($this->uri_segment));

Contributor

narfbg commented Oct 5, 2012

Currently there's a cast to integer there, so it should work.

narfbg closed this Oct 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment