Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14316423
D16798.id40455.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16798.id40455.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 7:13 AM (11 h, 57 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6904736
Default Alt Text
D16798.id40455.diff (1 KB)
Attached To
Mode
D16798: Fix a bug with creating Phortune merchant accounts without applying an email address transaction and some null field issues
Attached
Detach File
Event Timeline
Log In to Comment