Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISPConfig
ISPConfig 3
Commits
496a43b0
"README.md" did not exist on "e3929f1706bd92a6ca7517e7950fcefefdb4caec"
Commit
496a43b0
authored
16 years ago
by
tbrehm
Browse files
Options
Downloads
Patches
Plain Diff
Fixed bug: getmail config files are not written.
parent
cdf85ead
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
interface/web/mail/mail_get_edit.php
+2
-2
2 additions, 2 deletions
interface/web/mail/mail_get_edit.php
with
2 additions
and
2 deletions
interface/web/mail/mail_get_edit.php
+
2
−
2
View file @
496a43b0
...
...
@@ -92,7 +92,7 @@ class page_action extends tform_actions {
}
// end if user is not admin
// Set the server ID according to the selected destination
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT server_id FROM mail_user WHERE email = '"
.
mysql_real_escape_string
(
$this
->
dataRecord
[
"destination"
])
.
"'"
);
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT server_id FROM mail_user WHERE email = '"
.
$app
->
db
->
quote
(
$this
->
dataRecord
[
"destination"
])
.
"'"
);
$this
->
dataRecord
[
"server_id"
]
=
$tmp
[
"server_id"
];
unset
(
$tmp
);
...
...
@@ -102,7 +102,7 @@ class page_action extends tform_actions {
function
onAfterInsert
()
{
global
$app
;
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT sys_groupid FROM mail_user WHERE email = '"
.
mysql_real_escape_string
(
$this
->
dataRecord
[
"destination"
])
.
"'"
);
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT sys_groupid FROM mail_user WHERE email = '"
.
$app
->
db
->
quote
(
$this
->
dataRecord
[
"destination"
])
.
"'"
);
$app
->
db
->
query
(
"update mail_get SET sys_groupid = "
.
$tmp
[
'sys_groupid'
]
.
" WHERE mailget_id = "
.
$this
->
id
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment