mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
01_FHEMWEB.pm: Fix warning for asyncOutput for strange parameters (Forum #52332)
git-svn-id: https://svn.fhem.de/fhem/trunk@11316 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b0e359f672
commit
6d23bffbfb
@ -488,6 +488,7 @@ FW_AsyncOutput($$)
|
|||||||
{
|
{
|
||||||
my ($hash, $ret) = @_;
|
my ($hash, $ret) = @_;
|
||||||
|
|
||||||
|
return if(!$hash || !$hash->{FW_ID});
|
||||||
if( $ret =~ m/^<html>(.*)<\/html>$/s ) {
|
if( $ret =~ m/^<html>(.*)<\/html>$/s ) {
|
||||||
$ret = $1;
|
$ret = $1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user