Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15410057
D17764.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17764.diff
View Options
diff --git a/src/applications/conpherence/controller/ConpherenceListController.php b/src/applications/conpherence/controller/ConpherenceListController.php
--- a/src/applications/conpherence/controller/ConpherenceListController.php
+++ b/src/applications/conpherence/controller/ConpherenceListController.php
@@ -89,13 +89,14 @@
default:
$data = $this->loadDefaultParticipation($limit);
$all_participation = $data['all_participation'];
-
- $conpherence_id = head($all_participation)->getConpherencePHID();
- $conpherence = id(new ConpherenceThreadQuery())
- ->setViewer($user)
- ->withPHIDs(array($conpherence_id))
- ->needProfileImage(true)
- ->executeOne();
+ if ($all_participation) {
+ $conpherence_id = head($all_participation)->getConpherencePHID();
+ $conpherence = id(new ConpherenceThreadQuery())
+ ->setViewer($user)
+ ->withPHIDs(array($conpherence_id))
+ ->needProfileImage(true)
+ ->executeOne();
+ }
// If $conpherence is null, NUX state will render
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 6:44 AM (13 h, 49 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7329087
Default Alt Text
D17764.diff (1 KB)
Attached To
Mode
D17764: Fix fatal in Conpherence NUX state
Attached
Detach File
Event Timeline
Log In to Comment