mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Fix perl warning https://github.com/webmin/webmin/issues/1498
This commit is contained in:
@@ -4261,7 +4261,8 @@ if (defined(&theme_get_module_acl)) {
|
||||
|
||||
# In case module's config expected to be user-based
|
||||
# only, we must not consider `noconfig` option at all.
|
||||
if (&get_module_preferences_acl($m, 'allowed') eq "*") {
|
||||
my $allowed = &get_module_preferences_acl($m, 'allowed');
|
||||
if ($allowed && $allowed eq "*") {
|
||||
$rv{'noconfig'} = 0;
|
||||
}
|
||||
return %rv;
|
||||
|
||||
Reference in New Issue
Block a user