##// END OF EJS Templates
fixed #8915: crash when adding a user with a wrong length password...
Jean-Philippe Lang -
r274:59a619ebbbc1
parent child
Show More
@@ -106,6 +106,7 module ApplicationHelper
106 106 full_messages = []
107 107 object.errors.each do |attr, msg|
108 108 next if msg.nil?
109 msg = msg.first if msg.is_a? Array
109 110 if attr == "base"
110 111 full_messages << l(msg)
111 112 else
@@ -117,6 +118,7 module ApplicationHelper
117 118 object.custom_values.each do |v|
118 119 v.errors.each do |attr, msg|
119 120 next if msg.nil?
121 msg = msg.first if msg.is_a? Array
120 122 full_messages << "&#171; " + v.custom_field.name + " &#187; " + l(msg)
121 123 end
122 124 end
General Comments 0
You need to be logged in to leave comments. Login now