From 6388c744e73d77469283125ec2bc38cfdf9b3816 Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Thu, 27 Jul 2017 15:36:41 +0000 Subject: [PATCH] collectord: more bugfixing (Forum: #54482) git-svn-id: https://svn.fhem.de/fhem/trunk@14801 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/PRESENCE/collectord | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fhem/contrib/PRESENCE/collectord b/fhem/contrib/PRESENCE/collectord index 56a73c226..1a93af670 100755 --- a/fhem/contrib/PRESENCE/collectord +++ b/fhem/contrib/PRESENCE/collectord @@ -947,10 +947,10 @@ sub aggregateRooms if(@rooms > 0) { my $rssi_data = join(";", map("rssi_".$_."='".$rssi_results{$_}."'", map {s/\s+/_/rg } keys %rssi_results)); - my $ret = "present". - (defined($hroom) ? ";room='".$hroom."'" : ""). - "rooms='".join(",",sort @rooms)."'". - (defined($hroom) ? ";".$hash->{$hroom}{data} : (defined($hash->{$rooms[0]}{data}) ? "';".$hash->{$rooms[0]}{data} : "")). + my $ret = "present". + (defined($hroom) ? ";room='".$hroom."'" : ""). + ";rooms='".join(",",sort @rooms)."'". + (defined($hroom) ? ";".$hash->{$hroom}{data} : (defined($hash->{$rooms[0]}{data}) ? ";".$hash->{$rooms[0]}{data} : "")). (defined($rssi_data) ? ";".$rssi_data : ""); } else