mirror of
https://github.com/internetee/registry.git
synced 2025-07-04 10:13:34 +02:00
fix typo
This commit is contained in:
parent
8bf98837cc
commit
7c035ff6e5
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ class Contact < ActiveRecord::Base
|
|||
next unless column.type == :string
|
||||
|
||||
c_name = column.name
|
||||
val = read_atribute(c_name)
|
||||
val = read_attribute(c_name)
|
||||
errors.add(c_name, :invalid) if val.include?('<') || val.include?('>') || val.include?('%3C') || val.include?('%3E')
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue