FIX: undefined value

FIXES: #20
This commit is contained in:
Dominik Meyer 2024-03-01 22:03:18 +01:00
parent 761c8b639d
commit 0fd9b594b6
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -254,7 +254,7 @@ sub NTFY_Publish_Msg
readingsBeginUpdate($hash);
readingsBulkUpdateIfChanged($hash, "nrPublishedMessages", $nrPublishedMessages);
readingsBulkUpdateIfChanged($hash, "lastUsedTopic", $msg->{topic});
readingsBulkUpdateIfChanged($hash, "lastUsedTopic", join(",", @{$msg->{topics}}));
readingsBulkUpdateIfChanged($hash, "lastMessageSend", $msg->{text});
readingsBulkUpdateIfChanged($hash, "lastRawMessage", to_json($message));
readingsBulkUpdateIfChanged($hash, "lastEror", "");