diff options
author | James Lopez <james@jameslopez.es> | 2016-10-04 11:01:32 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-10-04 11:01:32 +0300 |
commit | 912d7f7b68d5c75d801299a8c9363a257030e142 (patch) | |
tree | 66c4890eba2a5a8c0e65b43c11885552f068693e /app/models/service.rb | |
parent | 4be63f5b5bd9c0859f5ba2b91ecdbdcc57b69b98 (diff) |
Fix issues importing services via Import/Export
Diffstat (limited to 'app/models/service.rb')
-rw-r--r-- | app/models/service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/service.rb b/app/models/service.rb index 80de7175565..66c804f2b06 100644 --- a/app/models/service.rb +++ b/app/models/service.rb @@ -136,6 +136,7 @@ class Service < ActiveRecord::Base end def #{arg}=(value) + self.properties ||= {} updated_properties['#{arg}'] = #{arg} unless #{arg}_changed? self.properties['#{arg}'] = value end |