diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-09-14 17:12:16 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-09-14 17:12:16 +0200 |
commit | 75d9552615dc88d30496df3aa86bceb961711b36 (patch) | |
tree | c3a4d8ce5f4ad76e56df6170fd4d2d4d0c695f06 /reach_reports | |
parent | 0b00c0857bf1a0e335aba9453b700bbd8a51444f (diff) |
check dataset not null
Diffstat (limited to 'reach_reports')
-rw-r--r-- | reach_reports/reach_service.rb | 4 |
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) |