From ffaed67711dc44d46fad71601cac3e5f3bbc0f5c Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 29 Jan 2015 14:03:45 -0800 Subject: [PATCH] Fix default-public-author migration script Summary: Via IRC. This parameter isn't constructed quite correctly. See P1710. Test Plan: Inspection. Reviewers: btrahan Reviewed By: btrahan Subscribers: yelirekim, epriestley Differential Revision: https://secure.phabricator.com/D11568 --- resources/sql/autopatches/20150120.maniphestdefaultauthor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/sql/autopatches/20150120.maniphestdefaultauthor.php b/resources/sql/autopatches/20150120.maniphestdefaultauthor.php index 5aae97f863..ae064544f2 100644 --- a/resources/sql/autopatches/20150120.maniphestdefaultauthor.php +++ b/resources/sql/autopatches/20150120.maniphestdefaultauthor.php @@ -10,7 +10,7 @@ $config_key = if ($value) { $app_emails = id(new PhabricatorMetaMTAApplicationEmailQuery()) ->setViewer(PhabricatorUser::getOmnipotentUser()) - ->withApplicationPHIDs($maniphest->getPHID()) + ->withApplicationPHIDs(array($maniphest->getPHID())) ->execute(); foreach ($app_emails as $app_email) {