mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Fix skip of quoting for array options https://sourceforge.net/p/webadmin/bugs/5028/
This commit is contained in:
@@ -148,8 +148,8 @@ if ($config{'dhcpd_version'} >= 3) {
|
||||
&check_ip6address($cv) ||
|
||||
&error(&text('sopt_ecip', $in{"cname_$i"}));
|
||||
}
|
||||
if ($o && $o->{'values'}->[4] =~ /^array\s+of\s+(\S+)/) {
|
||||
local $atype = $1;
|
||||
if ($o && $o->{'values'}->[4] =~ /^array/) {
|
||||
# No need to quote arrays
|
||||
}
|
||||
elsif ($o && $o->{'values'}->[4] eq 'string' ||
|
||||
$o && $o->{'values'}->[4] eq 'text' ||
|
||||
|
||||
Reference in New Issue
Block a user