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

Silence an undeclared variable warning

Summary:
If you don't have a custom renderer, this variable does not get set
and emits a warning when you try to read it.

Test Plan:
Loaded page before and after change, warnings went away (lines
145 and 154 in old file).

Reviewed By: aran
Reviewers: tuomaspelkonen, aran
CC: jungejason, aran, epriestley
Differential Revision: 186

+2
+2
src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php
··· 135 135 PhutilSymbolLoader::loadClass($custom_renderer_class); 136 136 $custom_renderer = 137 137 newv($custom_renderer_class, array()); 138 + } else { 139 + $custom_renderer = null; 138 140 } 139 141 140 142 $properties = $this->getRevisionProperties(