From e6606851828f8ba15b6a3a32efbcb164c86c3c4f Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Thu, 9 Oct 2014 12:42:09 +0000 Subject: [PATCH] fhem.pl: Fix FHEM2FHEM Warning. (Forum #27737) git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6724 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 871db34b2..894c16fe9 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -3095,7 +3095,7 @@ Dispatch($$$) } } - return undef if($found[0] eq ""); # Special return: Do not notify + return undef if(!int(@found) || $found[0] eq ""); # Special return: Do not notify foreach my $found (@found) {