Project

General

Profile

Patch #1723 ยป custom_field.rb

Christian Bryn, 2008-07-31 16:20

 
# This patch will allow for using dots in custom field name, needed seeing as dots are used for abbreviations.
# The patch applies to app/models/custom_field.rb
35c35
< validates_format_of :name, :with => /^[\w\s\'\-]*$/i
---
> validates_format_of :name, :with => /^[\w.\s\'\-]*$/i
    (1-1/1)