mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 07:02:46 +08:00
Refactoring #1157
This commit is contained in:
parent
b0dbb0ea13
commit
60c49a85d0
|
@ -87,7 +87,7 @@ module Email
|
|||
value = header[1].strip
|
||||
result[name] = value if name.length > 0 && value.length > 0
|
||||
end
|
||||
} if !string.nil?
|
||||
} unless string.nil?
|
||||
result
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user