From baeb2be63d8d67dd1ecf0129514209f16fc6bbcb Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 14 Oct 2009 09:25:05 -0400
Subject: [PATCH] - Fixed bugs in the updater related to multiserver setups. - Updated french translation.

---
 server/lib/classes/modules.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/classes/modules.inc.php b/server/lib/classes/modules.inc.php
index f4bb65c..8df5b64 100644
--- a/server/lib/classes/modules.inc.php
+++ b/server/lib/classes/modules.inc.php
@@ -111,7 +111,7 @@
 						$tmp_sql2 = '';
 						foreach($data['new'] as $fieldname => $val) {
 							$tmp_sql1 .= "`$fieldname`,";
-							$tmp_sql2 .= "'$val',";
+							$tmp_sql2 .= "'".$app->db->quote($val)."',";
 						}
 						$tmp_sql1 = substr($tmp_sql1,0,-1);
 						$tmp_sql2 = substr($tmp_sql2,0,-1);

--
Gitblit v1.9.1