2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

fixed warning

git-svn-id: https://svn.fhem.de/fhem/trunk@5020 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-02-22 20:29:15 +00:00
parent dabd658347
commit f9793a4940

View File

@ -246,7 +246,7 @@ readingsGroup_makeLink($$$)
$txt = "<a style=\"cursor:pointer\" onClick=\"FW_cmd('$FW_ME$FW_subdir?XHR=1&$link')\">$txt</a>";
} else {
my $room = $FW_webArgs{room};
$room = "&detail=$FW_webArgs{detail}";
$room = "&detail=$FW_webArgs{detail}" if( $FW_webArgs{"detail"} );
my $srf = $room ? "&room=$room" : "";
$srf = $room if( $room && $room =~ m/^&/ );
$txt = "<a href=\"$FW_ME$FW_subdir?$link$srf\">$txt</a>";