Page MenuHomePhabricator

D16798.id.diff
No OneTemporary

D16798.id.diff

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

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 10:39 PM (3 h, 45 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6904736
Default Alt Text
D16798.id.diff (1 KB)

Event Timeline