mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 13:45:35 +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…
x
Reference in New Issue
Block a user