mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 03:44:52 +00:00
AutomowerConnect: prevent a warning im AMConnect/Common.pm
git-svn-id: https://svn.fhem.de/fhem/trunk@28368 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ca5dd63e32
commit
6d5e603c00
@ -457,7 +457,7 @@ sub FW_detailFn {
|
||||
my ($FW_wname, $name, $room, $pageHash) = @_; # pageHash is set for summaryFn.
|
||||
my $hash = $defs{$name};
|
||||
my $type = $hash->{TYPE};
|
||||
return '' if( AttrVal($name, 'disable', 0) || !AttrVal($name, 'showMap', 1) || !$::init_done );
|
||||
return '' if( AttrVal($name, 'disable', 0) || !AttrVal($name, 'showMap', 1) || !$::init_done || !$FW_ME );
|
||||
|
||||
my $img = "$FW_ME/$type/$name/map";
|
||||
my $zoom=AttrVal( $name,"mapImageZoom", 0.7 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user