stopped allowing users to submit with empty input

Fixed issue #128