Skip to content

Commit aacbd98

Browse files
author
Florian Schaal
committed
resync-tool: show server_name even if resyncing only one server
1 parent 37a8909 commit aacbd98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

interface/web/tools/resync_do.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ function query_server($table, $server_id, $server_type, $where = "WHERE active =
6666
$tmp_id .= $server['server_id'].',';
6767
$server_name[$server['server_id']] = $server['server_name'];
6868
}
69+
} else {
70+
$server_name[$server_id] = $app->db->queryOneRecord("SELECT server_name FROM server WHERE server_id = ".$server_id)['server_name'];
6971
}
72+
7073
if ( isset($tmp_id) ) $server_id = rtrim($tmp_id,',');
7174

7275
if ($active_only) {

0 commit comments

Comments
 (0)