mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
74_UnifiVideo.pm: fixed my $var = ... if( ... );
git-svn-id: https://svn.fhem.de/fhem/trunk@23866 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3a109fa869
commit
d6df42790f
@ -120,7 +120,8 @@ UnifiVideo_2html($;$$)
|
||||
$width = 200 if( !$width );
|
||||
my $name = $hash->{NAME};
|
||||
|
||||
my @cams = split(',', $cams) if( defined($cams) );
|
||||
my @cams;
|
||||
@cams = split(',', $cams) if( defined($cams) );
|
||||
|
||||
my $apiKey = AttrVal($name, 'apiKey', undef);
|
||||
return undef if( !$apiKey );
|
||||
|
Loading…
x
Reference in New Issue
Block a user