mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-02 19:15:31 +00:00
02_RSS: fix for undefined attribute bg
git-svn-id: https://svn.fhem.de/fhem/trunk@25063 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9197c58bbc
commit
afd4e21ece
@ -932,7 +932,7 @@ sub RSS_returnIMG($$) {
|
||||
# check if background directory is set
|
||||
my $reason = "?"; # remember reason for undefined image
|
||||
my $bgroot = AttrVal( $name, "bgroot", "");
|
||||
my $bgdirs = AttrVal( $name, "bg", "undef" ); # comma-separated list of directories
|
||||
my $bgdirs = AttrVal( $name, "bg", undef ); # comma-separated list of directories
|
||||
if ( defined($bgdirs) ) {
|
||||
|
||||
my $bgnr; # item number
|
||||
|
Loading…
x
Reference in New Issue
Block a user