From 0f9fa27a6c7026f77c7d857c971b1db1b709f583 Mon Sep 17 00:00:00 2001 From: Marius Burkard <m.burkard@pixcept.de> Date: Fri, 10 Feb 2017 17:57:11 +0100 Subject: [PATCH] - reverted commit e2e9036c to avoid #4513 --- interface/lib/classes/tform_actions.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/lib/classes/tform_actions.inc.php b/interface/lib/classes/tform_actions.inc.php index e4b366fadd..e0ff251455 100644 --- a/interface/lib/classes/tform_actions.inc.php +++ b/interface/lib/classes/tform_actions.inc.php @@ -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 == '') { -- GitLab