Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
531b0431
Commit
531b0431
authored
Dec 06, 2013
by
Till Brehm
Browse files
FS#3252 - Wrong mailserver gets selected in email user import tool
parent
da860c8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/tools/import_ispconfig.php
View file @
531b0431
...
...
@@ -150,7 +150,7 @@ function start_domain_import($mail_domain) {
if
(
$sys_userid
==
0
)
$error
.
=
'Inavlid Userid<br />'
;
//* Get the mail server ID
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT server_id FROM server WHERE mail_server = 1 LIMIT 0,1"
);
$tmp
=
$app
->
db
->
queryOneRecord
(
"SELECT server_id FROM server WHERE mail_server = 1
and mirror_server_id = 0
LIMIT 0,1"
);
$server_id
=
intval
(
$tmp
[
'server_id'
]);
unset
(
$tmp
);
if
(
$server_id
==
0
)
$server_id
=
1
;
...
...
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