mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 09:49:20 +00:00
FHEMWEB: motd none fix
git-svn-id: https://svn.fhem.de/fhem/trunk@4997 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
89039cf698
commit
8d37c51d9a
@ -664,8 +664,8 @@ FW_answerCall($)
|
|||||||
FW_showRoom();
|
FW_showRoom();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
my $motd = AttrVal("global","motd",undef);
|
my $motd = AttrVal("global","motd","none");
|
||||||
if(defined($motd)) {
|
if($motd ne "none") {
|
||||||
$motd =~ s/\n/<br>/g;
|
$motd =~ s/\n/<br>/g;
|
||||||
FW_pO "<div id=\"content\">$motd</div>";
|
FW_pO "<div id=\"content\">$motd</div>";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user