mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Always show at least one empty row for DNS servers
This commit is contained in:
@@ -49,7 +49,7 @@ print "$dns->{'name'}[0] " if $dns->{'name'};
|
||||
print "$text{'dns_servers'}</b></td> <td valign=top>\n";
|
||||
print "<input type=hidden name=name0 value=\"$dns->{'name'}[0]\">\n"
|
||||
if $dns->{'name'};
|
||||
for($i=0; $i<$max_dns_servers; $i++) {
|
||||
for($i=0; $i<$max_dns_servers || $i<@{$dns->{'nameserver'}}+1; $i++) {
|
||||
printf "<input name=nameserver_$i size=15 value=\"%s\"><br>\n",
|
||||
$dns->{'nameserver'}->[$i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user