2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

configDB.pm: minor bugfix to prevent perl warning

git-svn-id: https://svn.fhem.de/fhem/trunk@21888 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2020-05-07 07:44:33 +00:00
parent a25262ddbc
commit 5b4ba4d1f2

View File

@ -1187,7 +1187,7 @@ sub _cfgDB_Fileexport {
my $sth = $fhem_dbh->prepare( "SELECT content FROM fhemb64filesave WHERE filename = '$filename'" ); my $sth = $fhem_dbh->prepare( "SELECT content FROM fhemb64filesave WHERE filename = '$filename'" );
$sth->execute(); $sth->execute();
my $blobContent = $sth->fetchrow_array(); my $blobContent = $sth->fetchrow_array();
$blobContent = decode_base64($blobContent); $blobContent = decode_base64($blobContent) if($blobContent);
my $counter = length($blobContent); my $counter = length($blobContent);
$sth->finish(); $sth->finish();
$fhem_dbh->disconnect(); $fhem_dbh->disconnect();