diff options
author | Repox <storm@err0r.dk> | 2011-11-23 09:44:54 +0100 |
---|---|---|
committer | Repox <storm@err0r.dk> | 2011-11-23 09:44:54 +0100 |
commit | e45f28c5ab7509ade2a9db0cd574d8a688bc4c3b (patch) | |
tree | 81a8720574945f47edb0617842c331c6e1f476a1 /system/libraries/Pagination.php | |
parent | 1f9a40f2465ee135d4ed0292d51a1ed6571173f0 (diff) | |
parent | b25bf9db4af963269362e16cec0a99326c4439ad (diff) |
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into develop
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); |