diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 36a9e03ac..992bd87f8 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -911,7 +911,7 @@ class ShixunsController < ApplicationController @collaborators = @shixun.shixun_members.where("user_id != #{@shixun.user_id}") else begin - raise("必须选择一个用户才能更换管理员") if params[:user_id].blank? + raise("请先选择成员") if params[:user_id].blank? man_member = ShixunMember.where(:shixun_id => @shixun.id, :user_id => @shixun.user_id).first cha_member = ShixunMember.where(:user_id => params[:user_id], :shixun_id => @shixun.id).first if man_member && cha_member