1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

Fix an issue with the Phortune card disable route

I think this got clipped in modernization at some point.

Auditors: chad
This commit is contained in:
epriestley 2016-01-08 09:08:43 -08:00
parent 23367265e1
commit 7ba13edc2e

View file

@ -5,7 +5,7 @@ final class PhortunePaymentMethodDisableController
public function handleRequest(AphrontRequest $request) { public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer(); $viewer = $request->getViewer();
$method_id = $request->getURIData('methodID'); $method_id = $request->getURIData('id');
$method = id(new PhortunePaymentMethodQuery()) $method = id(new PhortunePaymentMethodQuery())
->setViewer($viewer) ->setViewer($viewer)