summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/gateway.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/gateway.rb b/app/models/gateway.rb
index d879fe9..21dc831 100644
--- a/app/models/gateway.rb
+++ b/app/models/gateway.rb
@@ -22,7 +22,7 @@ class Gateway < ActiveRecord::Base
private
def downcase_technology
- technology = technology.downcase
+ self.technology = self.technology.downcase if !self.technology.blank?
end
end