diff --git a/src/applications/phortune/editor/PhortuneMerchantEditor.php b/src/applications/phortune/editor/PhortuneMerchantEditor.php --- a/src/applications/phortune/editor/PhortuneMerchantEditor.php +++ b/src/applications/phortune/editor/PhortuneMerchantEditor.php @@ -134,6 +134,7 @@ } break; case PhortuneMerchantTransaction::TYPE_INVOICEEMAIL: + $new_email = null; foreach ($xactions as $xaction) { switch ($xaction->getTransactionType()) { case PhortuneMerchantTransaction::TYPE_INVOICEEMAIL: diff --git a/src/applications/phortune/storage/PhortuneMerchant.php b/src/applications/phortune/storage/PhortuneMerchant.php --- a/src/applications/phortune/storage/PhortuneMerchant.php +++ b/src/applications/phortune/storage/PhortuneMerchant.php @@ -19,7 +19,10 @@ public static function initializeNewMerchant(PhabricatorUser $actor) { return id(new PhortuneMerchant()) ->setViewPolicy(PhabricatorPolicies::getMostOpenPolicy()) - ->attachMemberPHIDs(array()); + ->attachMemberPHIDs(array()) + ->setContactInfo('') + ->setInvoiceEmail('') + ->setInvoiceFooter(''); } protected function getConfiguration() {