Skip to content

Commit

Permalink
Fix use of undefined warning virtualmin/virtualmin-gpl#188 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Jul 20, 2020
1 parent 7ddedee commit a7fe5b1
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 @@ -489,7 +489,7 @@ sub feature_modify
# Rename log files if needed
my $new_alog = &virtual_server::get_apache_template_log($d, 0);
my $new_elog = &virtual_server::get_apache_template_log($d, 1);
if ($old_alog && $old_elog && $old_alog ne $new_alog) {
if (defined($old_alog) && defined($old_elog) && $old_alog ne $new_alog) {
&$virtual_server::first_print($text{'feat_modifylog'});
my $server = &find_domain_server($d);
if (!$server) {
Expand Down

0 comments on commit a7fe5b1

Please sign in to comment.