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) {