mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
FHEMWEB: sortRoom fix by andre
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4479 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a93cb10568
commit
c9e48aabce
@ -931,8 +931,7 @@ FW_roomIdx(\@$)
|
||||
my ($index) = grep { $arr->[$_] =~ /^$v$/ } 0..$#$arr;
|
||||
|
||||
return "9999-$v" if( !defined($index) );
|
||||
|
||||
return $index;
|
||||
return sprintf( "%03i", $index );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user