@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 small bug with empty user queries

Summary: This does the wrong thing (fatals) if there are no passed PHIDs.

Test Plan: No more fatal.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

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

+5
+5
src/applications/people/storage/PhabricatorUserStatus.php
··· 47 47 } 48 48 49 49 public function loadCurrentStatuses($user_phids) { 50 + if (!$user_phids) { 51 + return array(); 52 + } 53 + 50 54 $statuses = $this->loadAllWhere( 51 55 'userPHID IN (%Ls) AND UNIX_TIMESTAMP() BETWEEN dateFrom AND dateTo', 52 56 $user_phids); 57 + 53 58 return mpull($statuses, null, 'getUserPHID'); 54 59 } 55 60