Commit 355e7a9e authored by Marius Burkard's avatar Marius Burkard

- fixed typo in resynctool (vservers not showing up if no db server present)

parent 6628fb3d
Pipeline #121 passed with stage
in 3 minutes and 28 seconds
......@@ -425,7 +425,7 @@ class page_action extends tform_actions {
//* fetch vserver
$v_server_rec = $app->db->queryAllRecords("SELECT server_id, server_name FROM server WHERE vserver_server = 1 AND active = 1 AND mirror_server_id = 0 ORDER BY active DESC, server_name");
if (!empty($db_server_rec)) {
if (!empty($v_server_rec)) {
$app->tpl->setVar('vserver_server_found', 1);
$server_list = $this->create_list($v_server_rec, 'vserver', 'openvz_vm');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment