Changeset 2665 for trunk/system

Show
Ignore:
Timestamp:
05/07/2008 03:26:46 PM (7 months ago)
Author:
Geert
Message:

Fixing a bug in Pagination with $_GET. Thanks Woody!

Files:
1 modified

Legend:

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

    r2574 r2665  
    9393                        // Create full URL 
    9494                        $this->url = url::site(Router::$current_uri).'?'.str_replace('%7Bpage%7D', '{page}', http_build_query($_GET)); 
     95 
     96                        // Reset page number 
     97                        $_GET[$this->query_string] = $this->current_page; 
    9598                } 
    9699