mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 17:52:43 +01:00
(stable) 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
08cc80cc5c
commit
70b194398e
1 changed files with 4 additions and 0 deletions
|
@ -237,6 +237,10 @@ final class DifferentialReviewersField
|
||||||
}
|
}
|
||||||
|
|
||||||
public function validateCommitMessageValue($value) {
|
public function validateCommitMessageValue($value) {
|
||||||
|
if (!$value) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$author_phid = $this->getObject()->getAuthorPHID();
|
$author_phid = $this->getObject()->getAuthorPHID();
|
||||||
|
|
||||||
$config_self_accept_key = 'differential.allow-self-accept';
|
$config_self_accept_key = 'differential.allow-self-accept';
|
||||||
|
|
Loading…
Reference in a new issue