Revision 87e23352
Added by Aditi Puntambekar almost 6 years ago
app/models/setting/email.rb | ||
---|---|---|
]
|
||
end
|
||
|
||
validates :value, :length => {:maximum => 255}, :if => Proc.new { |s| s.name == "email_subject_prefix" }
|
||
|
||
def self.load_defaults
|
||
# Check the table exists
|
||
return unless super
|
Also available in: Unified diff
Fixes #24057 - Email subject prefix accepts long strings (#5742)