From e719330d1bb25cd36978df641db91d43522a5afc Mon Sep 17 00:00:00 2001 From: betateilchen Date: Mon, 16 Jun 2014 17:54:00 +0000 Subject: [PATCH] configDB.pm - prevent warning if no 99_files are found in database git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6124 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 33bf0f4d0..59203dad9 100644 --- a/fhem/configDB.pm +++ b/fhem/configDB.pm @@ -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();