diff --git a/fhem/CHANGED b/fhem/CHANGED index 3bb3265e7..064172372 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 93__DbRep: error in diffValue if no value was selected - feature 93_DbRep: exportToFile to CSV-format, Reading "errortext" added - feature: 73_GasCalculator: System readings are hidden now - feature: 73_ElectricityCalculator: System readings are hidden now diff --git a/fhem/FHEM/93_DbRep.pm b/fhem/FHEM/93_DbRep.pm index ac763afb6..962f35fff 100644 --- a/fhem/FHEM/93_DbRep.pm +++ b/fhem/FHEM/93_DbRep.pm @@ -37,6 +37,7 @@ ########################################################################################################### # Versions History: # +# 3.7.2 04.09.2016 problem in diffValue fixed if if no value was selected # 3.7.1 31.08.2016 Reading "errortext" added, commandref continued, exportToFile changed, # diffValue changed to fix wrong timestamp if error occur # 3.7 30.08.2016 exportToFile added @@ -1383,7 +1384,7 @@ sub diffval_ParseDone($) { my $runtime_string = decode_base64($a[0]); $lastruntimestring = $runtime_string if ($i == 1); - my $value = $a[3]; + my $value = $a[3]?$a[3]:0; $a[3] =~ s/:/-/g if($a[2]); # substituieren unsopported characters -> siehe fhem.pl my $timestamp = $a[2]?$a[1]."_".$a[2]:$a[1];