Check that the code is not empty before sending it, please.