summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-17 06:24:01 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-17 06:24:01 +0200
commit788d95a24e5b3ce0091b44d721d587fa7a89f452 (patch)
tree5aa2038ce9deb4b6d968da4a8b158d4ddd02749c /system/libraries
parentdf522c90e174fc3963e4d97cb6c4ef60c1c4f4dc (diff)
Fixed bug 4775. The constant AMP was undefined... this was a copy/past from EE code, where AMP exists.
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Pagination.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php
index 4206f4e72..5435f42da 100644
--- a/system/libraries/Pagination.php
+++ b/system/libraries/Pagination.php
@@ -172,7 +172,7 @@ class CI_Pagination {
// string. If post, add a trailing slash to the base URL if needed
if ($CI->config->item('enable_query_strings') === TRUE OR $this->page_query_string === TRUE)
{
- $this->base_url = rtrim($this->base_url).AMP.$this->query_string_segment.'=';
+ $this->base_url = rtrim($this->base_url).'&amp;'.$this->query_string_segment.'=';
}
else
{