git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5802 2b470e98-0d58-463d-a4d8-8e2adae1ed80

This commit is contained in:
tpoitzsch
2014-05-09 17:21:50 +00:00
parent 5f2f2c27e5
commit ffa40428c3

View File

@@ -263,7 +263,7 @@ statistics_DoStatistics($$$)
my $servedBy = $dev->{helper}{_98_statistics};
if ($servedBy ne $hashName) {
my $monReadingValue = ReadingsVal($hashName,"monitoredDevicesUnserved","");
if ($monReadingValue !~ /regExp/) {
if ($monReadingValue !~ /$regExp/) {
if($monReadingValue eq "") { $monReadingValue = $devName;}
else {$monReadingValue .= ",".$devName;}
readingsSingleUpdate($hash,"monitoredDevicesUnserved",$monReadingValue,1);