2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +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:
rudolfkoenig 2016-05-24 17:56:05 +00:00
parent f32910c60b
commit 4f421bbee7

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};