waldronmatt/FullCalendar-BS4-PHP-MySQL-JSON

Event creation allows empty input fields, and deletes all other events if created with empty inputs (JSON Build)

rico161 opened this issue · 1 comments

index-json.php allows the user to create events without submitting a title/description, and doing so seems to delete all other json events that were on the calendar before. The easiest fix would just be to require the title to be filled before the user can submit (this should be required anyways).

Thanks for catching this. Setting require on the inputs should fix this.