Changeset 2168 for trunk/system/libraries/Pagination.php
- Timestamp:
- 02/25/2008 01:46:03 PM (11 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Pagination.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Pagination.php
r2167 r2168 74 74 if ($this->query_string !== '') 75 75 { 76 // Unvalidatedcurrent page77 $this->current_page = (isset($_GET[$this->query_string])) ? (int) $_GET[$this->query_string] : 1;76 // Extract current page 77 $this->current_page = isset($_GET[$this->query_string]) ? (int) $_GET[$this->query_string] : 1; 78 78 79 79 // Insert {page} placeholder … … 111 111 $this->url = url::site(implode('/', $this->url)).Router::$query_string; 112 112 113 // Unvalidatedcurrent page113 // Extract current page 114 114 $this->current_page = URI::instance()->segment($this->uri_segment); 115 115 }
