fixes undefined property for ->name when submitting a new 'post' (as opposed to a new 'discussion')