Skip to content
Snippets Groups Projects
Commit 531b0431 authored by Till Brehm's avatar Till Brehm
Browse files

FS#3252 - Wrong mailserver gets selected in email user import tool

parent da860c8a
No related branches found
No related tags found
2 merge requests!46Master,!17Stable 3.0.5
......@@ -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;
......
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