From 1959dbb13acf38d011d7ad9ddea435dee2331f7e Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sat, 13 Mar 2010 17:38:48 +0000
Subject: [PATCH] Fix in odt library

---
 htdocs/includes/odtphp/odf.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/includes/odtphp/odf.php b/htdocs/includes/odtphp/odf.php
index 022b2a8ac23..b88bc56a489 100644
--- a/htdocs/includes/odtphp/odf.php
+++ b/htdocs/includes/odtphp/odf.php
@@ -74,7 +74,7 @@ class Odf
 			if (! class_exists($this->config['ZIP_PROXY'])) {
 				throw new OdfException($this->config['ZIP_PROXY'] . ' class not found - check your php settings');
 			}
-			$this->file = new $zipHandler();
+			$this->file = new $zipHandler($this->tmpdir);
 
 			if ($this->file->open($filename) !== true) {	// This also create the tmpdir directory
 				throw new OdfException("Error while Opening the file '$filename' - Check your odt file");
-- 
GitLab