SyntaxFix
Write A Post
Hire A Developer
Questions
All you need is a check on the post side of things.
if(empty($_REQUEST['type_id']) && $_REQUEST['type_id'] != 0) $_REQUEST['type_id'] = null;