From 7d9225b2cfa096605d5c338b68384815c86ff2e8 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 21 May 2012 05:46:05 -0400
Subject: [PATCH] Improved tform.inc.php

---
 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 5610162..203caa3 100644
--- a/interface/lib/classes/tform.inc.php
+++ b/interface/lib/classes/tform.inc.php
@@ -896,7 +896,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 = '';
@@ -1019,7 +1019,7 @@
 					//* return a empty string if there is nothing to update
 					if(trim($sql_update) == '') $sql = '';
                 }
-                
+
                 return $sql;
         }
 

--
Gitblit v1.9.1