diff --git a/fhem/fhem.pl b/fhem/fhem.pl index bb531a79c..3a20a27ff 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -5342,7 +5342,7 @@ addToWritebuffer($$@) } $hash->{WBCallback} = $callback; - if(!$hash->{$wbName}) { + if(!defined($hash->{$wbName})) { $hash->{$wbName} = $txt; } elsif($nolimit || length($hash->{$wbName}) < 1024000) { $hash->{$wbName} .= $txt;