@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.

Diffusion - fix T3215

Summary: Ref T2784. We need to always return array() here so the foreach doesn't crap out

Test Plan: chad - can you confirm this fixes the error? I have ref-heavy git repos it seems. should work though.

Reviewers: chad, epriestley

Reviewed By: chad

CC: aran, Korvin

Maniphest Tasks: T3215, T2784

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

+1 -1
+1 -1
src/applications/diffusion/conduit/ConduitAPI_diffusion_refsquery_Method.php
··· 35 35 // similar to (remote/one, remote/two, remote/three) 36 36 $refs = trim($stdout, "() \n"); 37 37 if (!$refs) { 38 - return null; 38 + return array(); 39 39 } 40 40 $refs = explode(',', $refs); 41 41 $refs = array_map('trim', $refs);