diff --git a/module.info b/module.info index db7d688..bb8a447 100644 --- a/module.info +++ b/module.info @@ -1,4 +1,4 @@ desc=Nginx Webserver category=servers -version=2.11 +version=2.14 readonly=1 diff --git a/virtual_feature.pl b/virtual_feature.pl index cbb7a07..08c912a 100644 --- a/virtual_feature.pl +++ b/virtual_feature.pl @@ -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) {