mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
01_FHEMWEB.pm: avoid warning (Forum #119925)
git-svn-id: https://svn.fhem.de/fhem/trunk@24154 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4e01ad997e
commit
f31a3f484b
@ -1191,6 +1191,7 @@ FW_answerCall($)
|
||||
} else {
|
||||
my $motd = AttrVal("global", "motd", "");
|
||||
my $gie = $defs{global}{init_errors};
|
||||
$gie = "" if(!defined($gie));
|
||||
if($motd ne "none" && ($motd || $gie)) {
|
||||
FW_addContent("><pre class='motd'>$motd\n$gie</pre></div");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user