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 44b3dc9 commit a268a1aCopy full SHA for a268a1a
interface/web/admin/server_edit.php
@@ -55,8 +55,8 @@ function onShowEnd() {
55
global $app, $conf;
56
57
// Getting Servers
58
- $sql = "SELECT server_id,server_name FROM server WHERE server_id != ? ORDER BY server_name";
59
- $mirror_servers = $app->db->queryAllRecords($sql, $this->id);
+ $sql = "SELECT server_id,server_name FROM server WHERE server_id != ? AND mirror_server_id != ? ORDER BY server_name";
+ $mirror_servers = $app->db->queryAllRecords($sql, $this->id, $this->id);
60
$mirror_server_select = '<option value="0">'.$app->tform->lng('- None -').'</option>';
61
if(is_array($mirror_servers)) {
62
foreach( $mirror_servers as $mirror_server) {
0 commit comments