diff --git a/virtual_feature.pl b/virtual_feature.pl index a24c756..4594133 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -590,7 +590,7 @@ sub feature_modify if ($d->{'dom'} ne $oldd->{'dom'}) { my $newfile = &get_add_to_file($d->{'dom'}); my $server = &find_domain_server($d); - if ($server->{'file'} ne $newfile && + if ((!$newfile || $server->{'file'} ne $newfile) && $server->{'file'} =~ /\Q$oldd->{'dom'}\E/) { &$virtual_server::first_print($text{'feat_modifyfile'}); &delete_server_link($server);