summaryFn undef return case fixed

git-svn-id: https://svn.fhem.de/fhem/trunk@3304 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-06-18 08:50:10 +00:00
parent c60cd5d787
commit 70d1f986a6

View File

@@ -2485,8 +2485,9 @@ FW_devState($$@)
$extPage = \%hash;
}
no strict "refs";
$txt = &{$sfn}($FW_wname, $d, $FW_room, $extPage);
my $newtxt = &{$sfn}($FW_wname, $d, $FW_room, $extPage);
use strict "refs";
$txt = $newtxt if(defined($newtxt)); # As specified
}
return ($allSets, $cmdList, $txt);