fixed warning

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5020 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-02-22 20:29:15 +00:00
parent 14360246a7
commit 8a95e0f238

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>";