2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

02_RSS.pm - ad-hoc correction for use with configDB

(wrong function name used)

git-svn-id: https://svn.fhem.de/fhem/trunk@5590 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2014-04-21 09:05:01 +00:00
parent 7eb25ee7db
commit 5b5754fe7d

View File

@ -62,8 +62,8 @@ RSS_readLayout($) {
my $filename= $hash->{fhem}{filename};
my $name= $hash->{NAME};
if($attr{global}{configfile} eq 'configDB') {
my $layout = _cfgDB_Readlayout($filename);
if(configDBUsed()) {
my $layout = _cfgDB_Readfile($filename);
if(!(defined($layout))) {
$hash->{fhem}{layout}= ("text 0.1 0.1 'Layout definition not found in database!'");
Log 1, "RSS $name: Layout $filename not found in database";