diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-11-22 16:25:32 +0100 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-11-22 16:25:32 +0100 |
commit | c00a5a042341b8fe10d264ed1ea70177bc5e572d (patch) | |
tree | 88be90e02c41de95868152b8f3107d03b0b53fb8 /system/libraries/Pagination.php | |
parent | c737c94b6dd2044b7c1a7d506c57de7da6df97f4 (diff) | |
parent | 0199f68db46d375af2d4cb831c679d3040601f25 (diff) |
Merge master (2.1.0) and fixed conflicts.
Diffstat (limited to 'system/libraries/Pagination.php')
-rw-r--r-- | system/libraries/Pagination.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php index 7398c292d..f470debeb 100644 --- a/system/libraries/Pagination.php +++ b/system/libraries/Pagination.php @@ -298,11 +298,11 @@ class CI_Pagination { if ($this->last_link !== FALSE AND ($this->cur_page + $this->num_links) < $num_pages) { $i = ($this->use_page_numbers) ? $num_pages : ($num_pages * $this->per_page) - $this->per_page; - + $output .= $this->last_tag_open.'<a '.$this->anchor_class.'href="'.$this->base_url.$this->prefix.$i.$this->suffix.'">'.$this->last_link.'</a>'.$this->last_tag_close; } - // Kill double slashes. Note: Sometimes we can end up with a double slash + // Kill double slashes. Note: Sometimes we can end up with a double slash // in the penultimate link so we'll kill all double slashes. $output = preg_replace("#([^:])//+#", "\\1/", $output); |