dbtlr / php-airbrake

A PHP 5.3 library for sending errors to the Airbrake.io service.
http://airbrake.io
MIT License
121 stars 44 forks source link

Setting postData config option to empty array gets replaced by $_POST array #27

Closed craigts closed 10 years ago

craigts commented 10 years ago

Due to php handling empty arrays as boolean false the check for existence in Configuration::initialize fails and leads to some confusing behavior. Changing the existence check to something else might provide better behavior.

dbtlr commented 10 years ago

@craigts My latest push should correct this behavior.

Thanks!