FHEMWEB: sortRoom fix by andre
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4479 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user