From a4edba891c15249cef558e96d3b228b949b16d65 Mon Sep 17 00:00:00 2001 From: talkabout Date: Tue, 15 Sep 2015 17:36:53 +0000 Subject: [PATCH] 95_Dashboard: fixed access to uninitialized value git-svn-id: https://svn.fhem.de/fhem/trunk@9256 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/95_Dashboard.pm | 2 ++ 2 files changed, 3 insertions(+) diff --git a/fhem/CHANGED b/fhem/CHANGED index 6d65c0b40..718dacbf7 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 95_Dashboard: fixed access to uninitialized value - change: 74_AMAD: change set of STATE has been replaced by Readingsupdate 'state' - feature: 74_AMAD: commandref english translation, default $Id$ line diff --git a/fhem/FHEM/95_Dashboard.pm b/fhem/FHEM/95_Dashboard.pm index f1855f8c5..285693e8a 100644 --- a/fhem/FHEM/95_Dashboard.pm +++ b/fhem/FHEM/95_Dashboard.pm @@ -723,6 +723,8 @@ sub BuildGroupWidgets($$$$$) { my $groupicon = ''; foreach my $groupname (@groupnames) { + next if (!defined($groups{$groupname})); + my ($groupdevices, $groupicon) = @{$groups{$groupname}}; # if the device is not stored in the current column, skip it