Event creation allows empty input fields, and deletes all other events if created with empty inputs (JSON Build)
rico161 opened this issue · 1 comments
rico161 commented
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).
waldronmatt commented
Thanks for catching this. Setting require
on the inputs should fix this.