From 7d9225b2cfa096605d5c338b68384815c86ff2e8 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Mon, 21 May 2012 09:46:05 +0000 Subject: [PATCH] Improved tform.inc.php --- interface/lib/classes/tform.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/lib/classes/tform.inc.php b/interface/lib/classes/tform.inc.php index 561016259..203caa3b2 100644 --- a/interface/lib/classes/tform.inc.php +++ b/interface/lib/classes/tform.inc.php @@ -896,7 +896,7 @@ class tform { $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 @@ class tform { //* return a empty string if there is nothing to update if(trim($sql_update) == '') $sql = ''; } - + return $sql; } -- GitLab