@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 PHP8 array_slice($results, null) which cause diffusion locate file broken

Test Plan: check diffusion locate file if works

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: avivey, aklapper, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25750

jesse f75b66b2 6d5cde8e

+1 -1
+1 -1
src/applications/diffusion/conduit/DiffusionQueryPathsConduitAPIMethod.php
··· 27 27 28 28 protected function getResult(ConduitAPIRequest $request) { 29 29 $results = parent::getResult($request); 30 - $offset = $request->getValue('offset'); 30 + $offset = $request->getValue('offset', 0); 31 31 return array_slice($results, $offset); 32 32 } 33 33