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:
rudolfkoenig
2016-05-24 17:56:05 +00:00
parent f102be1f05
commit 6353023726

View File

@@ -12,7 +12,7 @@ sub
SetExtensionsCancel($)
{
my ($hash) = @_;
$hash = $defs{$hash} if( ref($hash) ne 'ARRAY' );
$hash = $defs{$hash} if( ref($hash) ne 'HASH' );
return undef if( !$hash );
my $name = $hash->{NAME};