Commit 7d9225b2 authored by tbrehm's avatar tbrehm

Improved tform.inc.php

parent 8677124a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment