mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
HMinfo:aviod error for some empty return value
git-svn-id: https://svn.fhem.de/fhem/trunk@25288 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
da7dc81546
commit
d403967941
@ -2905,6 +2905,8 @@ sub HMinfo_bpPost($) {#bp finished ############################################
|
|||||||
|
|
||||||
my @entityChk;
|
my @entityChk;
|
||||||
my ($test,$testId,$ent,$issue) = ("","","","");
|
my ($test,$testId,$ent,$issue) = ("","","","");
|
||||||
|
return if(!$ret);# nothing to post
|
||||||
|
|
||||||
foreach my $eLine (split("-ret-",$ret)){
|
foreach my $eLine (split("-ret-",$ret)){
|
||||||
next if($eLine eq "");
|
next if($eLine eq "");
|
||||||
if($eLine =~m/^ (id....)$/){
|
if($eLine =~m/^ (id....)$/){
|
||||||
|
Loading…
Reference in New Issue
Block a user