From cee6bf2fc09699d8a3c89bf32fea37b81ba67db5 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 19 Mar 2013 11:18:58 -0400
Subject: [PATCH] Fixed: FS#2756 - User can choose startmodule even it is unhooked!

---
 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