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

- reverted commit e2e9036c to avoid #4513

parent 53efe43a
No related branches found
No related tags found
No related merge requests found
...@@ -111,8 +111,9 @@ class tform_actions { ...@@ -111,8 +111,9 @@ class tform_actions {
$ext_where = ''; $ext_where = '';
// pre-fill dataRecord array with elements from database to avoid overwriting fields set by admin but hidden for client // 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); //$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); //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); $sql = $app->tform->getSQL($this->dataRecord, $app->tform->getCurrentTab(), 'UPDATE', $this->id, $ext_where);
if($app->tform->errorMessage == '') { 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