mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +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:
parent
a25262ddbc
commit
5b4ba4d1f2
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user