Skip to content

Commit

Permalink
Fix perl warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Dec 10, 2022
1 parent 55245ee commit 7827828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7827828

Please sign in to comment.