2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +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:
justme-1968 2015-10-17 08:47:47 +00:00
parent ff73a0ed32
commit 467d6a45aa

View File

@ -788,7 +788,7 @@ LightScene_updateHelper($$)
my ($s,$devices) = split( ':', $part,2 );
my $reverse = 0;
if( $devices =~ m/^!(.*)/ ) {
if( $devices && $devices =~ m/^!(.*)/ ) {
$reverse = 1;
$devices = $1;
}