2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

95_FLOORPLAN: fix log-errors

git-svn-id: https://svn.fhem.de/fhem/trunk@10076 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ulimaass 2015-12-03 18:21:53 +00:00
parent f8d14e9392
commit 68225b6eba

View File

@ -678,7 +678,7 @@ FP_show(){
$htmlTxt = &{$data{webCmdFn}{$fn}}($FW_ME,
$d, $FW_room, $cmd, $values);
}
$FW_ME = $oldMe if (defined($htmlTxt));
$FW_ME = $oldMe if (defined($htmlTxt) && $htmlTxt eq '');
use strict "refs";
last if(defined($htmlTxt));
}
@ -691,7 +691,7 @@ FP_show(){
$h .= "<p><a href='$FW_ME$FW_subdir?$link$FW_CSRF'>$cmd</a></p>";
}
} else {
if (defined($htmlTxt)) {
if (defined($htmlTxt) && $htmlTxt ne '') {
$htmlTxt =~ s/>desired-temp/>/; #for FHT
$htmlTxt =~ s/>desiredTemperature/>/; #for MAX!
FW_pO $htmlTxt;