mirror of
https://github.com/fhem/fhem-mirror.git
synced 2024-11-22 09:49:50 +00:00
configDB.pm: prevent perl warning (#96996)
git-svn-id: https://svn.fhem.de/fhem/trunk@18511 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e6e76dd9d0
commit
a9ddca1d60
@ -1016,7 +1016,7 @@ sub _cfgDB_Search($$;$) {
|
||||
$sth = $fhem_dbh->prepare( $sql);
|
||||
Log 5,"configDB: $sql";
|
||||
$sth->execute();
|
||||
$text = " device" if($dsearch);
|
||||
$text = $dsearch ? " device" : "";
|
||||
push @result, "search result for$text: $search in version: $searchversion";
|
||||
push @result, "--------------------------------------------------------------------------------";
|
||||
while (@line = $sth->fetchrow_array()) {
|
||||
|
Loading…
Reference in New Issue
Block a user