修正分页参数

This commit is contained in:
yunwuxin
2018-02-26 15:22:38 +08:00
parent 357052f1b4
commit f6358e691b

View File

@@ -128,7 +128,7 @@ abstract class Paginator implements ArrayAccess, Countable, IteratorAggregate, J
}
$url = $path;
if (!empty($parameters)) {
$url .= '?' . urldecode(http_build_query($parameters, null, '&'));
$url .= '?' . http_build_query($parameters, null, '&');
}
return $url . $this->buildFragment();
}