1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

(stable) 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 70079f47db
commit 35d90c3c4a

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)