Prevent error when no POST data is sent