Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43f388b

Browse files
committed
Merge branch '4.1' into 4.2
2 parents f4a3d18 + c1d343a commit 43f388b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Illuminate/Pagination/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function getPaginationView(Paginator $paginator, $view = null)
126126
*/
127127
public function getCurrentPage()
128128
{
129-
$page = (int) $this->currentPage ?: $this->request->query->get($this->pageName, 1);
129+
$page = (int) $this->currentPage ?: $this->request->input($this->pageName, 1);
130130

131131
if ($page < 1 || filter_var($page, FILTER_VALIDATE_INT) === false)
132132
{

0 commit comments

Comments
 (0)