Commit 0f9fa27a authored by Marius Burkard's avatar Marius Burkard
Browse files

- reverted commit e2e9036c to avoid #4513

parent 53efe43a
......@@ -111,8 +111,9 @@ class tform_actions {
$ext_where = '';
// pre-fill dataRecord array with elements from database to avoid overwriting fields set by admin but hidden for client
$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);
//$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);
// disabled due to problems with mail users, see https://git.ispconfig.org/ispconfig/ispconfig3/issues/4513
$sql = $app->tform->getSQL($this->dataRecord, $app->tform->getCurrentTab(), 'UPDATE', $this->id, $ext_where);
if($app->tform->errorMessage == '') {
......
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