2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

SVG: plotEditor Bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@3768 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-08-22 21:23:05 +00:00
parent 1757b64e15
commit 9f8dcf9f5f

View File

@ -412,7 +412,8 @@ SVG_WriteGplot($)
for(my $i=0; $i <= 8; $i++) {
next if(!$FW_webArgs{"title_$i"});
my $prf = "par_${i}_";
my @v = map {$FW_webArgs{"$prf$_"}} grep {$FW_webArgs{"$prf$_"}} (0..9);
my @v = map {$FW_webArgs{"$prf$_"}}
grep {defined($FW_webArgs{"$prf$_"})} (0..9);
my $r = @v > 1 ? join(":", map { s/:/\\x3a/g; $_ } @v) : $v[0];
print FH "#$ld $r\n";