do not let an empty bug form be submitted

http://manage.dimagi.com/default.asp?146771#816736
I don't think there is such a file. Just putting it in a function here is
good for now.