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