summaryrefslogtreecommitdiffstats
path: root/system/libraries/Pagination.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-07 05:16:32 +0200
committeradmin <devnull@localhost>2006-10-07 05:16:32 +0200
commit88a8ad187b13b36d6120eae2344fe16c3a76219d (patch)
tree9707b986ae9fe37f226abd5fec76b58d15903858 /system/libraries/Pagination.php
parent81ccb439c2743776728b798bdc7e31db3d826233 (diff)
Diffstat (limited to 'system/libraries/Pagination.php')
-rw-r--r--system/libraries/Pagination.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php
index 867d214fc..efbe6c27f 100644
--- a/system/libraries/Pagination.php
+++ b/system/libraries/Pagination.php
@@ -122,10 +122,10 @@ class CI_Pagination {
}
// Determine the current page number.
- $obj =& get_instance();
- if ($obj->uri->segment($this->uri_segment) != 0)
+ $CI =& get_instance();
+ if ($CI->uri->segment($this->uri_segment) != 0)
{
- $this->cur_page = $obj->uri->segment($this->uri_segment);
+ $this->cur_page = $CI->uri->segment($this->uri_segment);
}
if ( ! is_numeric($this->cur_page))