summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-10-22 17:44:52 +0200
committerAndreas Maunz <andreas@maunz.de>2012-10-22 17:44:52 +0200
commit7302c2b2cab7e669b32b2387377a8acf4db05acf (patch)
tree51a6111c4049e0f8525039252fa45ed114ea34c6
parent65aed05e7e4eae33b5c352dc9d86430981a3b7c0 (diff)
Added elsif
-rw-r--r--lib/utils/shims/feature.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/shims/feature.rb b/lib/utils/shims/feature.rb
index d576872..43db600 100644
--- a/lib/utils/shims/feature.rb
+++ b/lib/utils/shims/feature.rb
@@ -30,7 +30,7 @@ module OpenTox
feature.title = title
feature.metadata = metadata
feature.put
- else
+ elsif feature_uri
feature = OpenTox::Feature.find(feature_uri, @subjectid)
end
feature