colymba / silverstripe-restfulapi

SilverStripe RESTful API with a default JSON serializer.
BSD 3-Clause "New" or "Revised" License
64 stars 33 forks source link

Added fix for Uncaught TypeError #109

Open joelgrondrup opened 8 months ago

joelgrondrup commented 8 months ago

Added this fix to solve:

Argument 1 passed to SilverStripe\Control\HTTPResponse::sanitiseHeader() must be of the type string, null given.

At line 448 in RESTfulAPI.php