From 059a23b612823dca36c5636cf88f1397f8722664 Mon Sep 17 00:00:00 2001 From: Joshua Dwire Date: Sun, 1 May 2016 00:38:48 -0400 Subject: [PATCH] Fix syntax error --- app/Http/Controllers/PaymentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/PaymentController.php b/app/Http/Controllers/PaymentController.php index 171274b9428b..0139dcd78758 100644 --- a/app/Http/Controllers/PaymentController.php +++ b/app/Http/Controllers/PaymentController.php @@ -853,7 +853,7 @@ class PaymentController extends BaseController } if ($eventType == 'charge.failed') { - if (!$payment->isFailed() { + if (!$payment->isFailed()) { $payment->markFailed($charge['failure_message']); $this->userMailer->sendNotification($payment->user, $payment->invoice, 'payment_failed', $payment); }