Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2670891
D25849.1734085229.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
603 B
Referenced Files
None
Subscribers
None
D25849.1734085229.diff
View Options
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,7 @@
$results = array();
foreach ($cards as $card_key => $card) {
- $object_phid = $card['objectPHID'];
+ $object_phid = idx($card, 'objectPHID');
$handle = $handles[$object_phid];
$object = idx($objects, $object_phid);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 13, 10:20 (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1008174
Default Alt Text
D25849.1734085229.diff (603 B)
Attached To
Mode
D25849: Hovercards: Avoid "Undefined index: objectPHID" when passing bogus data
Attached
Detach File
Event Timeline
Log In to Comment