diff --git a/system/libraries/Pagination.php b/system/libraries/Pagination.php
index 867d214..efbe6c2 100644
--- a/system/libraries/Pagination.php
+++ b/system/libraries/Pagination.php
@@ -122,10 +122,10 @@
}
// 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))