Skip to content

Commit 525108a

Browse files
author
Marius Burkard
committed
- fix problem with fields hidden for clients only
1 parent cfdc58f commit 525108a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interface/lib/classes/tform_actions.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ function onUpdate() {
110110
$app->plugin->raiseEvent($_SESSION['s']['module']['name'].':'.$app->tform->formDef['name'].':'.'on_before_update', $this);
111111

112112
$ext_where = '';
113+
$tmp_old_record = $app->tform->getDataRecord($this->id);
114+
if($tmp_old_record && is_array($tmp_old_record)) $this->dataRecord = array_merge($tmp_old_record, $this->dataRecord);
113115
$sql = $app->tform->getSQL($this->dataRecord, $app->tform->getCurrentTab(), 'UPDATE', $this->id, $ext_where);
114116
if($app->tform->errorMessage == '') {
115117

0 commit comments

Comments
 (0)