From 2d0112c0f8d7629bc8e548f5b77d68cd4c9d08d7 Mon Sep 17 00:00:00 2001 From: ulimaass Date: Sat, 28 Nov 2015 13:17:55 +0000 Subject: [PATCH] FLOORPLAN: fixed logentries and disappeared device-name git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10032 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/95_FLOORPLAN.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fhem/FHEM/95_FLOORPLAN.pm b/fhem/FHEM/95_FLOORPLAN.pm index 904541d54..c4a3dbf05 100644 --- a/fhem/FHEM/95_FLOORPLAN.pm +++ b/fhem/FHEM/95_FLOORPLAN.pm @@ -581,7 +581,6 @@ FP_show(){ # $text2 = special for style3+6: $text = ReadingID, $text2=alternativeCaption $top = 0 if (!$top); $left = 0 if (!$left); - $text = ' ' if (!$text); $style = 0 if (!$style); # start device-specific table my $t2 = $text2 ? $text2 : " "; @@ -679,9 +678,7 @@ FP_show(){ $htmlTxt = &{$data{webCmdFn}{$fn}}($FW_ME, $d, $FW_room, $cmd, $values); } - if ($htmlTxt || $htmlTxt eq '') { - $FW_ME = $oldMe; - } + $FW_ME = $oldMe if (defined($htmlTxt)); use strict "refs"; last if(defined($htmlTxt)); }