From a9f3ae2c4fc4a867aca3d247fdb8bd1c4ba0e60f Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Wed, 28 May 2014 12:11:39 +0000 Subject: [PATCH] fix sortDevices and <...> headings (http://forum.fhem.de/index.php/topic,14608.msg172326.html#msg172326) git-svn-id: https://svn.fhem.de/fhem/trunk@5991 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/33_readingsGroup.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhem/FHEM/33_readingsGroup.pm b/fhem/FHEM/33_readingsGroup.pm index cd11c9421..ddac241a6 100644 --- a/fhem/FHEM/33_readingsGroup.pm +++ b/fhem/FHEM/33_readingsGroup.pm @@ -131,6 +131,8 @@ readingsGroup_updateDevices($) if( AttrVal( $hash->{NAME}, "sortDevices", 0 ) == 1 ) { @devices = sort { my $aa = @{$a}[0]; my $bb = @{$b}[0]; + $aa = "#" if( $aa =~ m/^