2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-09 20:57:11 +00:00

93_DbLog: V2.22.3, Forum:#74690, unitialized message in row ...

git-svn-id: https://svn.fhem.de/fhem/trunk@14900 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2017-08-14 18:53:19 +00:00
parent 72fbadc428
commit 4a72692226
2 changed files with 11 additions and 4 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_DbLog: V2.22.3, Forum:#74690, unitialized message in row ...
- feature: 34_ESPEasy: reject non local IPs wo/ basic auth
- bugfix: 50_TelegramBot: delayed retry & rename (#msg668108)
- changed: 70_BRAVIA: renamed reading/internal modelName to model

View File

@ -16,6 +16,8 @@
############################################################################################################################################
# Versions History done by DS_Starter & DeeSPe:
#
# 2.22.3 11.08.2017 Forum:#74690, bug unitialized in row 4322 -> $ret .= SVG_txt("par_${r}_0", "", "$f0:$f1:$f2:$f3", 20);
# 2.22.2 08.08.2017 Forum:#74690, bug unitialized in row 737 -> $ret .= ($fld[0]?$fld[0]:" ").'.'.($fld[1]?$fld[1]:" ");
# 2.22.1 07.08.2017 attribute "suppressAddLogV3" to suppress verbose3-logentries created by DbLog_AddLog
# 2.22.0 25.07.2017 attribute "addStateEvent" added
# 2.21.3 24.07.2017 commandref revised
@ -144,7 +146,7 @@ use Blocking;
use Time::HiRes qw(gettimeofday tv_interval);
use Encode qw(encode_utf8);
my $DbLogVersion = "2.22.1";
my $DbLogVersion = "2.22.3";
my %columns = ("DEVICE" => 64,
"TYPE" => 64,
@ -733,10 +735,12 @@ sub DbLog_regexpFn($$) {
my @fld = split(":", $a[$i]);
$ret .= '|' if( $ret );
$ret .= $fld[0] .'.'. $fld[1];
no warnings 'uninitialized'; # Forum:74690, bug unitialized
$ret .= $fld[0] .'.'. $fld[1];
use warnings;
}
return $ret;
return $ret;
}
################################################################
@ -4317,7 +4321,9 @@ DbLog_sampleDataFn($$$$$)
for(my $r=0; $r < $max; $r++) {
my @f = split(":", ($dlog->[$r] ? $dlog->[$r] : ":::"), 4);
my $ret = "";
$ret .= SVG_txt("par_${r}_0", "", "$f[0]:$f[1]:$f[2]:$f[3]", 20);
no warnings 'uninitialized'; # Forum:74690, bug unitialized
$ret .= SVG_txt("par_${r}_0", "", "$f[0]:$f[1]:$f[2]:$f[3]", 20);
use warnings;
# $ret .= SVG_txt("par_${r}_2", "", $f[2], 1); # Default not yet implemented
# $ret .= SVG_txt("par_${r}_3", "", $f[3], 3); # Function
# $ret .= SVG_txt("par_${r}_4", "", $f[4], 3); # RegExp