mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix if defined
This commit is contained in:
@@ -391,7 +391,7 @@ sub extract_value
|
||||
{
|
||||
my ($dir) = @_;
|
||||
return defined($dir->{'value'}) ? $dir->{'value'} :
|
||||
$dir->{'values'} && @{$dir->{'values'}} ? $dir->{'values'}->[0] : undef;
|
||||
defined($dir->{'values'}) && @{$dir->{'values'}} ? $dir->{'values'}->[0] : undef;
|
||||
}
|
||||
|
||||
# base_directory([&config], [no-cache])
|
||||
|
||||
Reference in New Issue
Block a user