Yes, that part should not have been there. I've updated the code above. I feel like it should be working at this point.... however let's try this one more variation:
GetSQLValueString(isset($_POST['ContactPermission'])?"1":"0", "int"),
I see you are using the standard Dreamweaver update server behavior. Another option is to update to the webassist version which is much more versatile.