diff --git a/plugins/dynamix.vm.manager/templates/Custom.form.php b/plugins/dynamix.vm.manager/templates/Custom.form.php index 10d608763..0a1631ceb 100644 --- a/plugins/dynamix.vm.manager/templates/Custom.form.php +++ b/plugins/dynamix.vm.manager/templates/Custom.form.php @@ -199,7 +199,7 @@ $oldName = $lv->domain_get_name($dom); $newName = $_POST['domain']['name']; $oldDir = $domain_cfg['DOMAINDIR'].$oldName; - $newDir = $domain_cfg['DOMAINDIR'].$newdName; + $newDir = $domain_cfg['DOMAINDIR'].$newName; if ($oldName && $newName && is_dir($oldDir) && !is_dir($newDir)) { // mv domain/vmname folder if (rename($oldDir, $newDir)) {