We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da860c8 commit 531b043Copy full SHA for 531b043
interface/web/tools/import_ispconfig.php
@@ -150,7 +150,7 @@ function start_domain_import($mail_domain) {
150
if($sys_userid == 0) $error .= 'Inavlid Userid<br />';
151
152
//* Get the mail server ID
153
- $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");
154
$server_id = intval($tmp['server_id']);
155
unset($tmp);
156
if($server_id == 0) $server_id = 1;
0 commit comments