mirror of
https://github.com/discourse/discourse.git
synced 2025-08-21 19:11:18 +08:00
Refactoring #1157
This commit is contained in:
parent
b0dbb0ea13
commit
60c49a85d0
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ module Email
|
||||||
value = header[1].strip
|
value = header[1].strip
|
||||||
result[name] = value if name.length > 0 && value.length > 0
|
result[name] = value if name.length > 0 && value.length > 0
|
||||||
end
|
end
|
||||||
} if !string.nil?
|
} unless string.nil?
|
||||||
result
|
result
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue