mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 05:16:02 +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();
|
||||
|
||||
} else {
|
||||
my $motd = AttrVal("global","motd",undef);
|
||||
if(defined($motd)) {
|
||||
my $motd = AttrVal("global","motd","none");
|
||||
if($motd ne "none") {
|
||||
$motd =~ s/\n/<br>/g;
|
||||
FW_pO "<div id=\"content\">$motd</div>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user