mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Fix not to double encode on modify
This commit is contained in:
@ -119,8 +119,7 @@ for($i=0; $i<@conf; $i++) {
|
||||
elsif ($1 eq $_[0]) {
|
||||
&print_tempfile(CONF, "[$_[1]]\n");
|
||||
foreach $k (grep {!/share_name/} (keys %share)) {
|
||||
&print_tempfile(CONF, "\t$k = ",
|
||||
&to_utf8($share{$k}),"\n");
|
||||
&print_tempfile(CONF, "\t$k = ", $share{$k},"\n");
|
||||
}
|
||||
#&print_tempfile(CONF, "\n");
|
||||
$replacing = 1;
|
||||
@ -131,8 +130,7 @@ for($i=0; $i<@conf; $i++) {
|
||||
$first = 1;
|
||||
&print_tempfile(CONF, "[$_[1]]\n");
|
||||
foreach $k (grep {!/share_name/} (keys %share)) {
|
||||
&print_tempfile(CONF, "\t$k = ",
|
||||
&to_utf8($share{$k}),"\n");
|
||||
&print_tempfile(CONF, "\t$k = ", $share{$k},"\n");
|
||||
}
|
||||
&print_tempfile(CONF, "\n");
|
||||
$replacing = 1;
|
||||
|
Reference in New Issue
Block a user