diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-02-03 03:59:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-03 03:59:51 +0100 |
commit | d14c276e58f0f223b0e4889d342a948c961081b2 (patch) | |
tree | f25b687f755725ee58b80ab2281dc368f5dc42eb /app/models/concerns | |
parent | c5071f2d787e81251c2b3111074b20d94773ee44 (diff) |
Add option to overwrite imported data (#9962)
* Add option to overwrite imported data Fix #7465 * Add import for domain blocks
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/domain_normalizable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/domain_normalizable.rb b/app/models/concerns/domain_normalizable.rb index dff3e5414..fb84058fc 100644 --- a/app/models/concerns/domain_normalizable.rb +++ b/app/models/concerns/domain_normalizable.rb @@ -10,6 +10,6 @@ module DomainNormalizable private def normalize_domain - self.domain = TagManager.instance.normalize_domain(domain) + self.domain = TagManager.instance.normalize_domain(domain&.strip) end end |