diff options
author | Etienne Massip <etienne.massip@gmail.com> | 2012-07-10 19:53:03 +0000 |
---|---|---|
committer | Etienne Massip <etienne.massip@gmail.com> | 2012-07-10 19:53:03 +0000 |
commit | c929ab5c1663374d683b784c92b8cde731f57ae8 (patch) | |
tree | 2eb08aeae4a9e60daab835ea329872b7d29735a2 /lib/redmine | |
parent | 165c2be523bedb1832c284adf2ee8b9a4462e735 (diff) | |
download | redmine-c929ab5c1663374d683b784c92b8cde731f57ae8.tar.gz redmine-c929ab5c1663374d683b784c92b8cde731f57ae8.zip |
Set temporary path cache variable as a String back again so that TCPDF handles error messages fine.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9968 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/export/pdf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 466b0ccac..f6988db79 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -36,7 +36,7 @@ module Redmine attr_accessor :footer_date def initialize(lang) - @@k_path_cache = Rails.root.join('tmp', 'pdf') + @@k_path_cache = Rails.root.join('tmp', 'pdf').to_path FileUtils.mkdir_p @@k_path_cache unless File::exist?(@@k_path_cache) set_language_if_valid lang pdf_encoding = l(:general_pdf_encoding).upcase |