Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit c9162bd

Browse files
committed
Fix error if msgExchanger is not set.
1 parent ec84065 commit c9162bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/plugins/core.mq/class.MqManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function sendInstantMessage($xmlContent, $repositoryId, $targetUserId = n
144144
if(isSet($userId)) $message->userId = $userId;
145145
if(isSet($gPath)) $message->groupPath = $gPath;
146146

147-
if (isSet($this->msgExchanger)) {
147+
if ($this->msgExchanger) {
148148
$this->msgExchanger->publishInstantMessage("nodes:$repositoryId", $message);
149149
}
150150

0 commit comments

Comments
 (0)