mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
Fix one more "Reviewers" wire format issue
Summary: Fixes T11010. This also needs to be inflated until we fix the whole client/server responsibility issue here. Test Plan: - Created a revision while observing error log, no error. - Disabled "allow self accept", tried to make myself a reviewer, got rejected with an error message. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11010 Differential Revision: https://secure.phabricator.com/D15966
This commit is contained in:
parent
627b95bf78
commit
e1ad312fdd
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ final class DifferentialReviewersField
|
|||
$config_self_accept_key = 'differential.allow-self-accept';
|
||||
$allow_self_accept = PhabricatorEnv::getEnvConfig($config_self_accept_key);
|
||||
|
||||
$value = $this->inflateReviewers($value);
|
||||
foreach ($value as $spec) {
|
||||
$phid = $spec['phid'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue