mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
31_LightScene.pm: fixed empty uninitialized value warning
git-svn-id: https://svn.fhem.de/fhem/trunk@9471 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ff73a0ed32
commit
467d6a45aa
@ -788,7 +788,7 @@ LightScene_updateHelper($$)
|
|||||||
my ($s,$devices) = split( ':', $part,2 );
|
my ($s,$devices) = split( ':', $part,2 );
|
||||||
|
|
||||||
my $reverse = 0;
|
my $reverse = 0;
|
||||||
if( $devices =~ m/^!(.*)/ ) {
|
if( $devices && $devices =~ m/^!(.*)/ ) {
|
||||||
$reverse = 1;
|
$reverse = 1;
|
||||||
$devices = $1;
|
$devices = $1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user