codefog / contao-haste

Haste is a collection of tools and classes to ease working with Contao
http://codefog.pl/extension/haste.html
MIT License
43 stars 24 forks source link

Prevent undefned array key warning in list() if the query string is empty #166

Closed markocupic closed 2 years ago

markocupic commented 2 years ago

PHP 8.0: Getting a undefined array key warning when callingHaste\Util\Url::addQueryString('foo=bar') and the current url has no query string.

aschempp commented 2 years ago

Thank you @markocupic