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:
justme1968
2021-03-01 08:21:33 +00:00
parent f9350aed17
commit 3613791a64

View File

@@ -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 );