From f3a960ef5c304bbebd315bd495cb529d9e9b5da2 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Fri, 2 May 2014 17:16:55 +0000 Subject: [PATCH] configDB - changed AttrRead() to return commandline array git-svn-id: https://svn.fhem.de/fhem/trunk@5721 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/configDB.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fhem/configDB.pm b/fhem/configDB.pm index 188818283..cf471d768 100644 --- a/fhem/configDB.pm +++ b/fhem/configDB.pm @@ -199,11 +199,10 @@ if($cfgDB_dbconn =~ m/pg:/i) { my $sth = $fhem_dbh->prepare( $sql ); $sth->execute(); while (@line = $sth->fetchrow_array()) { - $row = "$line[1],$line[2],$line[3]"; if($line[1] eq 'configdb') { $attr{configdb}{$line[2]} = $line[3]; } else { - push @rets, $row; + push @rets, "attr $line[1] $line[2] $line[3]"; } } $fhem_dbh->disconnect();