From 5b4ba4d1f222cff43812dc1c7434e0dc72ac5849 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Thu, 7 May 2020 07:44:33 +0000 Subject: [PATCH] configDB.pm: minor bugfix to prevent perl warning git-svn-id: https://svn.fhem.de/fhem/trunk@21888 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/configDB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/configDB.pm b/fhem/configDB.pm index 507409c39..aba7f0962 100644 --- a/fhem/configDB.pm +++ b/fhem/configDB.pm @@ -1187,7 +1187,7 @@ sub _cfgDB_Fileexport { my $sth = $fhem_dbh->prepare( "SELECT content FROM fhemb64filesave WHERE filename = '$filename'" ); $sth->execute(); my $blobContent = $sth->fetchrow_array(); - $blobContent = decode_base64($blobContent); + $blobContent = decode_base64($blobContent) if($blobContent); my $counter = length($blobContent); $sth->finish(); $fhem_dbh->disconnect();