dev_forum
SylorHuang 5 years ago
parent 4899c05c83
commit 2c8007b2d4

@ -911,7 +911,7 @@ class PollsController < ApplicationController
end
error_question = error_question.reject(&:blank?)
if error_question.reject(&:blank?).length > 0
normal_status(-1, "#{error_question.map{|a| "<p>"+a+"</p>"}.join("")}".html_safe)
normal_status(-1, word_wrap("#{error_question.join("\n")}"))
else
poll_user_current = @poll.poll_users.find_by_group_ids(current_user.id).first
poll_user_params = {

Loading…
Cancel
Save