small invitation fix 4

remove if(competition_data[:open_to]=='private')