POST data validation fix
fixed outputting of errors
comments