Save: convert ; to ;; for attr too
git-svn-id: https://svn.fhem.de/fhem/trunk@1378 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1092,7 +1092,9 @@ CommandSave($$)
|
|||||||
foreach my $a (sort keys %{$attr{$d}}) {
|
foreach my $a (sort keys %{$attr{$d}}) {
|
||||||
next if($d eq "global" &&
|
next if($d eq "global" &&
|
||||||
($a eq "configfile" || $a eq "version"));
|
($a eq "configfile" || $a eq "version"));
|
||||||
print $fh "attr $d $a $attr{$d}{$a}\n";
|
my $val = $attr{$d}{$a};
|
||||||
|
$val =~ s/;/;;/g;
|
||||||
|
print $fh "attr $d $a $val\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print SFH "include $attr{global}{lastinclude}\n"
|
print SFH "include $attr{global}{lastinclude}\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user