httpful icon indicating copy to clipboard operation
httpful copied to clipboard

Fix passing null as string

Open olssonm opened this issue 1 year ago • 1 comments

Fixes a PHP deprecation warning on PHP >= 8.1: http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated.

Just set the parameter to "" instead of null.

olssonm avatar Sep 17 '24 11:09 olssonm

please merge this request @nategood

MisterDuval avatar Jan 08 '25 12:01 MisterDuval