From 790a54411d6aa93865ced58c16c0ebc347efad1f Mon Sep 17 00:00:00 2001 From: ulimaass <> Date: Sat, 8 Dec 2012 09:57:48 +0000 Subject: [PATCH] Floorplan: minor bugfix ("..isn't numeric in line 286") git-svn-id: https://svn.fhem.de/fhem/trunk@2282 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/95_FLOORPLAN.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/95_FLOORPLAN.pm b/fhem/FHEM/95_FLOORPLAN.pm index 7bf95b922..f53d862d3 100644 --- a/fhem/FHEM/95_FLOORPLAN.pm +++ b/fhem/FHEM/95_FLOORPLAN.pm @@ -283,7 +283,7 @@ FP_digestCgi($) { if($p =~ m/^attr\.(.*)$/) { $attr{$1} = $v; } if($p =~ m/^top\.(.*)$/) { $top{$1} = $v; } if($p =~ m/^left\.(.*)$/) { $left{$1} = $v; } - if($p =~ m/^style\.(.*)$/) { $style{$1} = int($v); } + if($p =~ m/^style\.(.*)$/) { $style{$1} = int(substr($v,0,2)); } if($p =~ m/^text\.(.*)$/) { $text{$1} = $v; } if($p eq "pos") { %FW_pos = split(/[=;]/, $v); } }