2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

93_DbRep: Syntaxerror due to Forum #msg529312

git-svn-id: https://svn.fhem.de/fhem/trunk@12681 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2016-11-28 23:00:06 +00:00
parent e09bd7c213
commit fa4fd4beb1
2 changed files with 4 additions and 2 deletions

View File

@ -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: Syntaxerror due to Forum #msg529312
- bugfix: 74_AMAD: 74_AMADautomagicFlowset_2.6.7.xml fix Problems with zero
Global Variables
- feature: 18_CUL_HOERMANN has toggle. culfw 1.67 needed

View File

@ -40,6 +40,7 @@
###########################################################################################################
# Versions History:
#
# 4.7.4 28.11.2016 sub calcount changed due to Forum #msg529312
# 4.7.3 20.11.2016 new diffValue function made suitable to SQLite
# 4.7.2 20.11.2016 commandref adapted, state = Warnings adapted
# 4.7.1 17.11.2016 changed fieldlength to DbLog new standard, diffValue state Warnings due to
@ -3561,9 +3562,9 @@ sub calcount ($$) {
Log3 ($name, 4, "DbRep $name - count of values used for calc:");
foreach my $key (sort(keys%{$ch})) {
Log3 ($name, 4, "$key => ". %$ch{$key});
Log3 ($name, 4, "$key => ". $ch->{$key});
if(%$ch{$key} eq "1") {
if($ch->{$key} eq "1") {
$ncp{"$key"} = " ||";
}
}