From 75d9552615dc88d30496df3aa86bceb961711b36 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Tue, 14 Sep 2010 17:12:16 +0200 Subject: check dataset not null --- reach_reports/reach_service.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'reach_reports') 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) -- cgit v1.2.3