Page MenuHomePhorge

D25849.1736627082.diff
No OneTemporary

D25849.1736627082.diff

diff --git a/src/applications/search/controller/PhabricatorSearchHovercardController.php b/src/applications/search/controller/PhabricatorSearchHovercardController.php
--- a/src/applications/search/controller/PhabricatorSearchHovercardController.php
+++ b/src/applications/search/controller/PhabricatorSearchHovercardController.php
@@ -98,7 +98,8 @@
$results = array();
foreach ($cards as $card_key => $card) {
- $object_phid = $card['objectPHID'];
+ $object_phid =
+ array_key_exists('objectPHID', $card) ? $card['objectPHID'] : null;
$handle = $handles[$object_phid];
$object = idx($objects, $object_phid);

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 20:24 (22 h, 30 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1110956
Default Alt Text
D25849.1736627082.diff (654 B)

Event Timeline