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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user