1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Resolve an issue with differential.query if no results are matched

Fixes T11406.

Auditors: chad
This commit is contained in:
epriestley 2016-07-31 13:07:06 -07:00
parent 1b192f746a
commit cd8a9fd61e

View file

@ -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();