From 48c4240c388da2ed3d7bcb2ce0488dcd22a8b4f3 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 26 May 2016 11:28:52 +0100 Subject: [PATCH] Removed un-needed equality param --- app/Http/Controllers/SubscribeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SubscribeController.php b/app/Http/Controllers/SubscribeController.php index fe11b243..104dfd8c 100644 --- a/app/Http/Controllers/SubscribeController.php +++ b/app/Http/Controllers/SubscribeController.php @@ -89,7 +89,7 @@ class SubscribeController extends Controller throw new NotFoundHttpException(); } - $subscriber = Subscriber::where('verify_code', '=', $code)->first(); + $subscriber = Subscriber::where('verify_code', $code)->first(); if (!$subscriber) { throw new BadRequestHttpException();