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

configDB.pm - prevent warning if no 99_files are found in database

git-svn-id: https://svn.fhem.de/fhem/trunk@6124 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2014-06-16 17:54:00 +00:00
parent 01f214c1d2
commit 0350ed3b48

View File

@ -464,7 +464,7 @@ sub cfgDB_FW_fileList($$@) {
# read filelist containing 99_ files in database
sub cfgDB_Read99() {
my $ret;
my $ret = "";
my $fhem_dbh = _cfgDB_Connect;
my $sth = $fhem_dbh->prepare( "SELECT filename FROM fhembinfilesave WHERE filename like '%/99_%.pm' group by filename" );
$sth->execute();