From 8335d64fb7b904b4651b9e48ceb45aef3adb317b Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Tue, 26 Mar 2024 19:58:05 +0200 Subject: [PATCH] Fix error in postinstall in strict mode --- postinstall.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postinstall.pl b/postinstall.pl index c3a2bfa..425e44e 100755 --- a/postinstall.pl +++ b/postinstall.pl @@ -8,7 +8,7 @@ sub module_install { # Enable virtualmin-htpasswd module once my @p = split(/\s+/, $virtual_server::config{'plugins'}); -my @ppe = split(/\s+/, $virtual_server::config{'plugins_postinstall_enabled'}); +my @ppe = split(/\s+/, $virtual_server::config{'plugins_postinstall_enabled'} // ''); if (&indexof('virtualmin-nginx', @virtual_server::plugins) > -1 && &indexof($module_name, @p) == -1 && &indexof($module_name, @ppe) == -1) {