summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2012-07-10 19:53:03 +0000
committerEtienne Massip <etienne.massip@gmail.com>2012-07-10 19:53:03 +0000
commitc929ab5c1663374d683b784c92b8cde731f57ae8 (patch)
tree2eb08aeae4a9e60daab835ea329872b7d29735a2 /lib/plugins
parent165c2be523bedb1832c284adf2ee8b9a4462e735 (diff)
downloadredmine-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/plugins')
-rwxr-xr-xlib/plugins/rfpdf/lib/tcpdf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/rfpdf/lib/tcpdf.rb b/lib/plugins/rfpdf/lib/tcpdf.rb
index 56ae756e1..7c4d0df81 100755
--- a/lib/plugins/rfpdf/lib/tcpdf.rb
+++ b/lib/plugins/rfpdf/lib/tcpdf.rb
@@ -86,10 +86,10 @@ class TCPDF
@@k_small_ratio = 2/3.0
cattr_accessor :k_path_cache
- @@k_path_cache = Rails.root.join('tmp')
+ @@k_path_cache = Rails.root.join('tmp').to_path
cattr_accessor :k_path_url_cache
- @@k_path_url_cache = Rails.root.join('tmp')
+ @@k_path_url_cache = Rails.root.join('tmp').to_path
cattr_accessor :decoder