Page MenuHomePhorge

D25401.1734621621.diff
No OneTemporary

D25401.1734621621.diff

diff --git a/src/applications/notification/client/PhabricatorNotificationServerRef.php b/src/applications/notification/client/PhabricatorNotificationServerRef.php
--- a/src/applications/notification/client/PhabricatorNotificationServerRef.php
+++ b/src/applications/notification/client/PhabricatorNotificationServerRef.php
@@ -161,9 +161,9 @@
return $uri;
}
- public function getWebsocketURI($to_path = null) {
+ public function getWebsocketURI($to_path = '') {
$instance = PhabricatorEnv::getEnvConfig('cluster.instance');
- if (strlen($instance)) {
+ if (phutil_nonempty_string($instance)) {
$to_path = $to_path.'~'.$instance.'/';
}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 15:20 (3 h, 33 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015129
Default Alt Text
D25401.1734621621.diff (673 B)

Event Timeline