Skip to content
Snippets Groups Projects
Commit 32ed1e42 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1693 - "Is mirror of Server" option lists own server name as possible source.

parent c7ef3974
No related branches found
No related tags found
2 merge requests!46Master,!21Master
......@@ -54,7 +54,7 @@ class page_action extends tform_actions {
global $app, $conf;
// Getting Servers
$sql = "SELECT server_id,server_name FROM server WHERE 1 ORDER BY server_name";
$sql = "SELECT server_id,server_name FROM server WHERE server_id != $this->id ORDER BY server_name";
$mirror_servers = $app->db->queryAllRecords($sql);
$mirror_server_select = '<option value="0">'.$app->tform->lng('- None -').'</option>';
if(is_array($mirror_servers)) {
......
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