Floorplan: minor bugfix ("..isn't numeric in line 286")

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2282 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ulimaass
2012-12-08 09:57:48 +00:00
parent b4e6f54250
commit a1bc0e0692

View File

@@ -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); }
}