93_DbRep: syntax error if perl version < 5.20

git-svn-id: https://svn.fhem.de/fhem/trunk@15834 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2018-01-08 20:50:13 +00:00
parent 65c121f7aa
commit 4cf4a66b01
2 changed files with 5 additions and 3 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: syntax error if perl version < 5.20
- feature: 74_AMADDevice: add new set command "takePicture",change Commandref
- feature: 98_GOOGLECAST: support speak command for TTS
set castdevice speak "Hallo"

View File

@@ -37,6 +37,7 @@
###########################################################################################################################
# Versions History:
#
# 7.3.1 08.01.2018 fix syntax error for perl < 5.20
# 7.3.0 07.01.2018 DbRep-charfilter avoid control characters in datasets to export, impfile_Push errortext
# improved,
# expfile_DoParse changed to use aggregation for split selects in timeslices (avoid heavy
@@ -278,7 +279,7 @@ use Encode qw(encode_utf8);
sub DbRep_Main($$;$);
my $DbRepVersion = "7.3.0";
my $DbRepVersion = "7.3.1";
my %dbrep_col = ("DEVICE" => 64,
"TYPE" => 64,
@@ -6421,9 +6422,9 @@ sub DbRep_getblockinginfo($@) {
my $len = 99;
foreach my $h (values %BC_hash) {
next if($h->{terminated} || !$h->{pid});
my @allk = keys(%$h);
my @allk = keys%{$h};
foreach my $k (@allk) {
Log3 ($name, 5, "DbRep $name -> $k : ".%$h{$k});
Log3 ($name, 5, "DbRep $name -> $k : ".$h->{$k});
}
my $fn = (ref($h->{fn}) ? ref($h->{fn}) : $h->{fn});
my $arg = (ref($h->{arg}) ? ref($h->{arg}) : $h->{arg});