Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
0f9fa27a
Commit
0f9fa27a
authored
Feb 10, 2017
by
Marius Burkard
Browse files
- reverted commit
e2e9036c
to avoid #4513
parent
53efe43a
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/tform_actions.inc.php
View file @
0f9fa27a
...
...
@@ -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
==
''
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment