Check that user variable is not undefined in Ticket publish.