mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fix saving of transfer-source https://sourceforge.net/tracker/?func=detail&atid=485894&aid=3577687&group_id=17457
This commit is contained in:
@@ -62,7 +62,7 @@ if ($in{'tport_def'} == 0) {
|
||||
$in{'tport'} =~ /^\d+$/ || &error(&text('net_eport', $in{'sport'}));
|
||||
push(@tvals, "port", $in{'tport'});
|
||||
}
|
||||
if (tqvals) {
|
||||
if (@tvals) {
|
||||
&save_directive($options, 'transfer-source',
|
||||
[ { 'name' => 'transfer-source',
|
||||
'values' => \@tvals } ], 1);
|
||||
|
||||
Reference in New Issue
Block a user