mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Don't redirect from last page
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1476 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -348,8 +348,8 @@ function remove_from_uri($param = "") {
|
||||
* @param int
|
||||
* @return string
|
||||
*/
|
||||
function pagination($page) {
|
||||
return " " . ($page == $_GET["page"] ? $page + 1 : '<a href="' . h(remove_from_uri("page") . ($page ? "&page=$page" : "")) . '">' . ($page + 1) . "</a>");
|
||||
function pagination($page, $current) {
|
||||
return " " . ($page == $current ? $page + 1 : '<a href="' . h(remove_from_uri("page") . ($page ? "&page=$page" : "")) . '">' . ($page + 1) . "</a>");
|
||||
}
|
||||
|
||||
/** Get file contents from $_FILES
|
||||
|
Reference in New Issue
Block a user