diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-06-17 15:54:20 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-06-17 15:54:20 +0200 |
commit | f537002fc16c14f8fe66b92aaebdb263aa6be6a2 (patch) | |
tree | 0ac9a9f7498f2e155177f6142c6bd7a42b2a3899 | |
parent | a5b5c0790de08b4deee7d72851070201cca1c744 (diff) |
do not empty subjectid to jnlp when a&A is disabled
-rwxr-xr-x | reach_reports/reach_application.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/reach_reports/reach_application.rb b/reach_reports/reach_application.rb index c0e89b5..e35df7b 100755 --- a/reach_reports/reach_application.rb +++ b/reach_reports/reach_application.rb @@ -235,12 +235,14 @@ EOF jnlp.chomp! jnlp += File.join(url_for("/reach_report/QMRF",:full),params[:id]) - jnlp += <<EOF + if @subjectid.to_s.size>0 + jnlp += <<EOF </argument> <argument>--subjectid= EOF - jnlp.chomp! - jnlp += @subjectid.to_s + jnlp.chomp! + jnlp += @subjectid.to_s + end jnlp += <<EOF </argument> |