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:
parent
6cef6658a3
commit
1e9120cdfb
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue