From 628bef0771f9496e8d11793a0286a8fc36b0e67b Mon Sep 17 00:00:00 2001 From: Nick Pellegrino Date: Sat, 9 Feb 2013 11:03:57 -0800 Subject: [PATCH] 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 --- .../config/controller/PhabricatorConfigEditController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/config/controller/PhabricatorConfigEditController.php b/src/applications/config/controller/PhabricatorConfigEditController.php index c02e20f3cb..b588ac78f3 100644 --- a/src/applications/config/controller/PhabricatorConfigEditController.php +++ b/src/applications/config/controller/PhabricatorConfigEditController.php @@ -330,6 +330,7 @@ final class PhabricatorConfigEditController case 'int': case 'string': case 'enum': + case 'class': return $value; case 'bool': return $value ? 'true' : 'false';