Skip to content

Commit

Permalink
Update http_build_query (#13758)
Browse files Browse the repository at this point in the history
Fix error in strict mode on hhvm.

The error: "TypeError: Argument 2 passed to http_build_query() must be an instance of string, null given"
  • Loading branch information
ivyhjk authored and taylorotwell committed May 30, 2016
1 parent bccaf7c commit 23b0ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Pagination/AbstractPaginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function url($page)

return $this->path
.(Str::contains($this->path, '?') ? '&' : '?')
.http_build_query($parameters, null, '&')
.http_build_query($parameters, '', '&')
.$this->buildFragment();
}

Expand Down

0 comments on commit 23b0ed9

Please sign in to comment.