1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00

Fix "Reviewers" validation issue with empty reviewers

Summary: Fixes T11021.

Test Plan: Created a revision without reviewers.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11021

Differential Revision: https://secure.phabricator.com/D15968
This commit is contained in:
epriestley 2016-05-23 17:04:27 -07:00
parent e1ad312fdd
commit 725d60eb4a

View file

@ -237,6 +237,10 @@ final class DifferentialReviewersField
}
public function validateCommitMessageValue($value) {
if (!$value) {
return;
}
$author_phid = $this->getObject()->getAuthorPHID();
$config_self_accept_key = 'differential.allow-self-accept';