2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

fhem.pl: fix AssignIoPort IsDisabled change (Forum #89477)

git-svn-id: https://svn.fhem.de/fhem/trunk@17007 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-07-20 14:38:12 +00:00
parent 93ec54436c
commit eee4a9f23d

View File

@ -2075,7 +2075,7 @@ AssignIoPort($;$)
# Set the I/O device, search for the last compatible one.
for my $p (sort { $defs{$b}{NR} <=> $defs{$a}{NR} } keys %defs) {
next if(IsDisabled($p) != 1);
next if(IsDisabled($p) == 1);
my $cl = $defs{$p}{Clients};
$cl = $modules{$defs{$p}{TYPE}}{Clients} if(!$cl);