dimagi/commcare-hq — pull request #4578 by snopoke (2014-10-21 08:14:30+00:00)
Title: validate doc_type before wrapping

http://manage.dimagi.com/default.asp?142908