mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Resolve an issue with differential.query
if no results are matched
Fixes T11406. Auditors: chad
This commit is contained in:
parent
1b192f746a
commit
cd8a9fd61e
1 changed files with 4 additions and 0 deletions
|
@ -150,6 +150,10 @@ abstract class DifferentialConduitAPIMethod extends ConduitAPIMethod {
|
|||
array $revisions) {
|
||||
assert_instances_of($revisions, 'DifferentialRevision');
|
||||
|
||||
if (!$revisions) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$field_lists = array();
|
||||
foreach ($revisions as $revision) {
|
||||
$revision_phid = $revision->getPHID();
|
||||
|
|
Loading…
Reference in a new issue