From 26c0fc98b880cf148ab348aefef85ac9b087597c Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 07 Jun 2012 06:02:10 -0400
Subject: [PATCH] Merged revisions 3100-3175 from stable branch.

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

diff --git a/interface/lib/classes/tform.inc.php b/interface/lib/classes/tform.inc.php
index b469e2e..dde9052 100644
--- a/interface/lib/classes/tform.inc.php
+++ b/interface/lib/classes/tform.inc.php
@@ -918,7 +918,7 @@
                 $this->action = $action;
                 $this->primary_id = $primary_id;
 
-                $record = $this->encode($record,$tab);
+                $record = $this->encode($record,$tab,true);
                 $sql_insert_key = '';
                 $sql_insert_val = '';
                 $sql_update = '';
@@ -1041,7 +1041,7 @@
 					//* return a empty string if there is nothing to update
 					if(trim($sql_update) == '') $sql = '';
                 }
-                
+
                 return $sql;
         }
 

--
Gitblit v1.9.1