1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-03 11:21:01 +01:00

Minor, fix an issue in Diffusion/Herald with commits that have no Auditors.

This commit is contained in:
epriestley 2012-07-24 07:37:41 -07:00
parent 6cef6658a3
commit 1e9120cdfb

View file

@ -222,7 +222,7 @@ final class PhabricatorRepositoryCommitHeraldWorker
$matches = null;
if (!preg_match('/^Auditors:\s*(.*)$/im', $message, $matches)) {
return;
return array();
}
$phids = DifferentialFieldSpecification::parseCommitMessageObjectList(
@ -231,7 +231,7 @@ final class PhabricatorRepositoryCommitHeraldWorker
$allow_partial = true);
if (!$phids) {
return;
return array();
}
$requests = id(new PhabricatorRepositoryAuditRequest())->loadAllWhere(