2
0
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:
rudolfkoenig 2014-02-20 09:22:52 +00:00
parent 89039cf698
commit 8d37c51d9a

View File

@ -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>";
}