summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reach_reports/reach_service.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/reach_reports/reach_service.rb b/reach_reports/reach_service.rb
index 1cc1466..3d8b73e 100644
--- a/reach_reports/reach_service.rb
+++ b/reach_reports/reach_service.rb
@@ -234,12 +234,10 @@ module ReachReports
r.qsar_miscellaneous.attachment_validation_data << AttachmentValidationData.new(
{ :description => d.title,
:filetype => "owl-dl",
- :url => data_uri} )
+ :url => data_uri} ) if d
end
-
r.save
-
end
# def self.get_report_content(type, id, *keys)