98_SVG.pm: fix warning for the 10year patch (Forum #85687)

git-svn-id: https://svn.fhem.de/fhem/trunk@16402 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2018-03-13 21:14:22 +00:00
parent b5455e3586
commit 290cb8cb52

View File

@@ -2331,6 +2331,7 @@ SVG_fmtTime($$)
my @tarr = split("[ :]+", localtime($sec));
my ($sep, $fmt) = split(" ", $sepfmt, 2);
my $ret = "";
$fmt = "" if(!defined($fmt));
for my $f (split(" ", $fmt)) {
$ret .= $sep if($ret);
$ret .= $tarr[$f];