From c6be4734e014b268bcb85149f05ba5478e750f4d Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Tue, 17 Nov 2015 12:36:55 +0000 Subject: [PATCH] 37_harmony.pm: fixed isn't numeric in numeric eq warning (forum:http://forum.fhem.de/index.php/topic,44106.msg360674.html#msg360674) git-svn-id: https://svn.fhem.de/fhem/trunk@9917 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/37_harmony.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/FHEM/37_harmony.pm b/fhem/FHEM/37_harmony.pm index 21a772f66..ef29eaa36 100644 --- a/fhem/FHEM/37_harmony.pm +++ b/fhem/FHEM/37_harmony.pm @@ -215,6 +215,7 @@ harmony_labelOfDevice($$;$) { my ($hash, $id, $default) = @_; + return undef if( $id eq '' ); return undef if( !defined($hash->{config}) ); foreach my $device (@{$hash->{config}->{device}}) {