mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42: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:
parent
e1ad312fdd
commit
725d60eb4a
1 changed files with 4 additions and 0 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue