01_FHEMWEB.pm:warnings caused by LightScene calling FHEMWEB early (Forum #97954)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18764 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-03-01 08:59:38 +00:00
parent 20d80354c4
commit dbf8412773

View File

@ -3145,12 +3145,14 @@ FW_directNotify($@) # Notify without the event overhead (Forum #31293)
################### ###################
# Compute the state (==second) column # Compute the state (==second) column
# return ($allSets, $cmdList, $txt);
sub sub
FW_devState($$@) FW_devState($$@)
{ {
my ($d, $rf, $extPage) = @_; my ($d, $rf, $extPage) = @_;
my ($hasOnOff, $link); my ($hasOnOff, $link);
return ("","","") if(!$FW_wname);
my $cmdList = AttrVal($d, "webCmd", ""); my $cmdList = AttrVal($d, "webCmd", "");
my $allSets = FW_widgetOverride($d, getAllSets($d, $FW_chash)); my $allSets = FW_widgetOverride($d, getAllSets($d, $FW_chash));