mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Make sure module is an empty string, so that SQL queries don't fail
This commit is contained in:
@@ -3648,6 +3648,7 @@ sub get_module_acl
|
||||
{
|
||||
my $u = defined($_[0]) ? $_[0] : $base_remote_user;
|
||||
my $m = defined($_[1]) ? $_[1] : &get_module_name();
|
||||
$m ||= "";
|
||||
my $mdir = &module_root_directory($m);
|
||||
my %rv;
|
||||
if (!$_[3]) {
|
||||
|
||||
Reference in New Issue
Block a user