@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix a bad lookup in hovercards

Summary:
If you try to pull the hovercard of something you can no longer see (maybe you loaded the page, then the policy changed) there won't be a value in the array here.

(The rest of the code anticipates this possibility.)

Test Plan: Hovered some stuff.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D14987

+1 -1
+1 -1
src/applications/search/controller/PhabricatorSearchHovercardController.php
··· 54 54 $cards = array(); 55 55 foreach ($phids as $phid) { 56 56 $handle = $handles[$phid]; 57 - $object = $objects[$phid]; 57 + $object = idx($objects, $phid); 58 58 59 59 $hovercard = id(new PhabricatorHovercardView()) 60 60 ->setUser($viewer)