mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
Default to right status when viewing a config 'class' option
Summary: T2361 Test Plan: Set value to metamta.mail-adapter and reload page. Defaults to assigned value. Performed same test with metamta.can-send-as-user to check that functionality is not broken for config 'boolean' options. Reviewers: epriestley Reviewed By: epriestley CC: kwadwon, aran, Korvin Maniphest Tasks: T2361 Differential Revision: https://secure.phabricator.com/D4881
This commit is contained in:
parent
1190e0516f
commit
628bef0771
1 changed files with 1 additions and 0 deletions
|
@ -330,6 +330,7 @@ final class PhabricatorConfigEditController
|
||||||
case 'int':
|
case 'int':
|
||||||
case 'string':
|
case 'string':
|
||||||
case 'enum':
|
case 'enum':
|
||||||
|
case 'class':
|
||||||
return $value;
|
return $value;
|
||||||
case 'bool':
|
case 'bool':
|
||||||
return $value ? 'true' : 'false';
|
return $value ? 'true' : 'false';
|
||||||
|
|
Loading…
Reference in a new issue