summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-10-22 17:45:02 +0200
committerAndreas Maunz <andreas@maunz.de>2012-10-22 17:45:02 +0200
commite8f7d10793dc370d306cf471278ef3f746ad5cc7 (patch)
treea02aef6ad2dbb120aa453407079de92b51179f5d
parent3b81bead90b64cad999a7611e57e347eb0e8d0fe (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