@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 PhabricatorEmptyQueryException handling in DiffusionCommitQuery::loadPage()

Summary: Add an additional check that `$empty_exception` is not `null` before try to `throw` it.

Test Plan: Read the previous code; run static code analysis.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

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

+1 -1
+1 -1
src/applications/diffusion/query/DiffusionCommitQuery.php
··· 252 252 $table->getTableName()); 253 253 } 254 254 255 - if (!$subqueries) { 255 + if (!$subqueries && $empty_exception) { 256 256 throw $empty_exception; 257 257 } 258 258