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