mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 06:53:47 +08:00
Simple forum software for building great communities.
fb8ad8fe9a
Attempting to send an empty body to the create and update endpoints will result in Flarum outputting "Internal Server Error" as plain text, instead of failing gracefully with a json-ised validation exception. This commit adds an empty array as the third parameter to array_get, which sets the default value and thus allows Flarum to do its thing. |
||
---|---|---|
extensions/tags |