From b0191fc04e7ea04d08a42e67c184c9be704ec12a Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Fri, 21 Sep 2012 07:08:47 -0400
Subject: [PATCH] Bugfix: Attachments were not cleaned up on finish() call of mail class (next recipient gets all attachments, too) Update: some import tests for plesk

---
 interface/lib/classes/importer.inc.php |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/interface/lib/classes/importer.inc.php b/interface/lib/classes/importer.inc.php
index 6d0f81f..e74c099 100644
--- a/interface/lib/classes/importer.inc.php
+++ b/interface/lib/classes/importer.inc.php
@@ -41,7 +41,10 @@
     }
     
     public function getFault() {
-        return $this->faultMessage . ' (' . $this->faultText . ')';
+        $ret = $this->faultMessage . ' (' . $this->faultText . ')';
+        $this->faultMessage = null;
+        $this->faultText = null;
+        return $ret;
     }
 }
 

--
Gitblit v1.9.1