mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 15:22:41 +01:00
Phortune - fix fatal from initial load
Summary: the attachX upgrade means we need to blank this out formally when creating a new object. Fixes https://github.com/facebook/phabricator/issues/383 Test Plan: loaded phortune for the first time - no fatal and it worked! Reviewers: epriestley Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6939
This commit is contained in:
parent
93f735ed2f
commit
11fd4c60f2
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ abstract class PhortuneController extends PhabricatorController {
|
|||
'=' => array($user->getPHID() => $user->getPHID()),
|
||||
));
|
||||
|
||||
$account = new PhortuneAccount();
|
||||
$account = id(new PhortuneAccount())
|
||||
->attachMemberPHIDs(array());
|
||||
|
||||
$editor = id(new PhortuneAccountEditor())
|
||||
->setActor($user)
|
||||
|
|
Loading…
Reference in a new issue