From 745429aac1ea78a74e0312edf5035d1021232dcd Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 12 Nov 2016 16:23:52 -0800 Subject: [PATCH] Fix some slop with Differential field lists Summary: I moved and then un-moved this incorrectly in D16846. Test Plan: Looked at the old code, which worked better. Reviewers: jacksongabbard, chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D16849 --- .../conduit/DifferentialParseCommitMessageConduitAPIMethod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/differential/conduit/DifferentialParseCommitMessageConduitAPIMethod.php b/src/applications/differential/conduit/DifferentialParseCommitMessageConduitAPIMethod.php index 4527983311..dc29ff07a9 100644 --- a/src/applications/differential/conduit/DifferentialParseCommitMessageConduitAPIMethod.php +++ b/src/applications/differential/conduit/DifferentialParseCommitMessageConduitAPIMethod.php @@ -33,7 +33,7 @@ final class DifferentialParseCommitMessageConduitAPIMethod new DifferentialRevision(), DifferentialCustomField::ROLE_COMMITMESSAGE); $field_list->setViewer($viewer); - $field_map = mpull($field_list, null, 'getFieldKeyForConduit'); + $field_map = mpull($field_list->getFields(), null, 'getFieldKeyForConduit'); $corpus_map = $this->parseCommitMessage($corpus);