Skip to content
Snippets Groups Projects
Commit 525108a6 authored by Marius Burkard's avatar Marius Burkard
Browse files

- fix problem with fields hidden for clients only

parent cfdc58ff
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,8 @@ class tform_actions {
$app->plugin->raiseEvent($_SESSION['s']['module']['name'].':'.$app->tform->formDef['name'].':'.'on_before_update', $this);
$ext_where = '';
$tmp_old_record = $app->tform->getDataRecord($this->id);
if($tmp_old_record && is_array($tmp_old_record)) $this->dataRecord = array_merge($tmp_old_record, $this->dataRecord);
$sql = $app->tform->getSQL($this->dataRecord, $app->tform->getCurrentTab(), 'UPDATE', $this->id, $ext_where);
if($app->tform->errorMessage == '') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment