mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
SetExtensions.pm: fix by justme1968 (Forum #53137)
git-svn-id: https://svn.fhem.de/fhem/trunk@11513 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f32910c60b
commit
4f421bbee7
@ -12,7 +12,7 @@ sub
|
|||||||
SetExtensionsCancel($)
|
SetExtensionsCancel($)
|
||||||
{
|
{
|
||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
$hash = $defs{$hash} if( ref($hash) ne 'ARRAY' );
|
$hash = $defs{$hash} if( ref($hash) ne 'HASH' );
|
||||||
|
|
||||||
return undef if( !$hash );
|
return undef if( !$hash );
|
||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user