1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/phortune
epriestley 7274e4857c Fix a bug where Phortune could fatal while building crumbs
Summary: Ref T12451. `$this->getAccount()` may not return an account.

Test Plan:
  - Visit `/phortune/X/`, where `X` is the ID of an account you don't have permission to view.
  - Before patch: fatal.
  - After patch: normal policy exception page.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12451

Differential Revision: https://secure.phabricator.com/D17689
2017-04-14 10:22:42 -07:00
..
application Update UI for PhortuneAccount 2017-04-11 16:54:58 -07:00
capability Add Merchants to Phortune 2014-10-07 10:55:16 -07:00
cart Extend from Phobject 2015-06-15 18:02:27 +10:00
constants Extend from Phobject 2015-06-15 18:02:27 +10:00
contentsource Modularize content sources 2016-03-26 11:59:45 -07:00
control phtize all the things 2015-05-22 21:16:39 +10:00
controller Fix a bug where Phortune could fatal while building crumbs 2017-04-14 10:22:42 -07:00
currency phtize all the things 2015-05-22 21:16:39 +10:00
edge Modernize PhortuneAccount with EditEngine/Modular Transactions 2017-04-11 12:33:15 -07:00
editor Modernize PhortuneAccount with EditEngine/Modular Transactions 2017-04-11 12:33:15 -07:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
management Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
product Modularize content sources 2016-03-26 11:59:45 -07:00
provider Remove the PhortuneNotImplementedException class 2015-11-12 06:33:39 +11:00
query Add a Merchant logo to Phortune 2016-10-28 13:56:35 -07:00
storage Correctly initialize new PhortuneAccount automatically 2017-04-11 22:46:40 +00:00
subscription Extend from Phobject 2015-06-15 18:02:27 +10:00
view Update UI for PhortuneAccount 2017-04-11 16:54:58 -07:00
worker Fix a Phortune bug where an invalid viewer could sometimes be selected for billing a subscription 2016-10-26 15:54:04 -07:00
xaction Modernize PhortuneAccount with EditEngine/Modular Transactions 2017-04-11 12:33:15 -07:00