mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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:
parent
7eb25ee7db
commit
5b5754fe7d
@ -62,8 +62,8 @@ RSS_readLayout($) {
|
|||||||
my $filename= $hash->{fhem}{filename};
|
my $filename= $hash->{fhem}{filename};
|
||||||
my $name= $hash->{NAME};
|
my $name= $hash->{NAME};
|
||||||
|
|
||||||
if($attr{global}{configfile} eq 'configDB') {
|
if(configDBUsed()) {
|
||||||
my $layout = _cfgDB_Readlayout($filename);
|
my $layout = _cfgDB_Readfile($filename);
|
||||||
if(!(defined($layout))) {
|
if(!(defined($layout))) {
|
||||||
$hash->{fhem}{layout}= ("text 0.1 0.1 'Layout definition not found in database!'");
|
$hash->{fhem}{layout}= ("text 0.1 0.1 'Layout definition not found in database!'");
|
||||||
Log 1, "RSS $name: Layout $filename not found in database";
|
Log 1, "RSS $name: Layout $filename not found in database";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user