Show
Ignore:
Timestamp:
02/25/2008 01:46:03 PM (11 months ago)
Author:
Geert
Message:

cleanup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Pagination.php

    r2167 r2168  
    7474                if ($this->query_string !== '') 
    7575                { 
    76                         // Unvalidated current page 
    77                         $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; 
    7878 
    7979                        // Insert {page} placeholder 
     
    111111                        $this->url = url::site(implode('/', $this->url)).Router::$query_string; 
    112112 
    113                         // Unvalidated current page 
     113                        // Extract current page 
    114114                        $this->current_page = URI::instance()->segment($this->uri_segment); 
    115115                }