mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Only upcase languages if they exist...
This commit is contained in:
parent
0982be8579
commit
3d9bef366c
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class Person < ActiveRecord::Base
|
|||
alias_attribute :affiliation, :company
|
||||
|
||||
def languages_upcase
|
||||
self.languages = self.languages.upcase
|
||||
self.languages = self.languages.upcase if self.languages
|
||||
end
|
||||
|
||||
def to_s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue