summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-14 09:50:03 +0100
committerspag <spag@golwen.net>2013-01-14 09:50:03 +0100
commit3a2425de2ff13edd7b3f10c219f04016ac7c4e36 (patch)
treedf26144038c7429a7c05fab5ecb45d31f9f3595f /app
parent9452ebcbe1f04d15105e1cd21890cd1a60cdeb8f (diff)
parentf22d65c6fc22b8c60965c318dbeab919ec62aae6 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app')
-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