From 1f2d68600bee84919a790baa39ffeae277ecc0e5 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 28 Dec 2019 23:34:08 -0600 Subject: [PATCH] entity stuff for blacklist' --- app/Http/Controllers/Blacklist/BlacklistController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Blacklist/BlacklistController.php b/app/Http/Controllers/Blacklist/BlacklistController.php index 2cc114267..a8e0a4ed7 100644 --- a/app/Http/Controllers/Blacklist/BlacklistController.php +++ b/app/Http/Controllers/Blacklist/BlacklistController.php @@ -58,7 +58,7 @@ class BlacklistController extends Controller //See if the entity is already on the list $count = BlacklistEntity::where([ - 'name' => $request->name, + 'entity_name' => $request->name, ])->count(); //If the count is 0, then add the character to the blacklist