From 942adcc72193fd4be55d8823033bf47deb4c530b Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 6 Feb 2020 23:06:20 -0600 Subject: [PATCH] black list update --- app/Http/Controllers/Blacklist/BlacklistController.php | 2 +- resources/views/blacklist/remove.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Blacklist/BlacklistController.php b/app/Http/Controllers/Blacklist/BlacklistController.php index ebcac9d1e..f16f0c493 100644 --- a/app/Http/Controllers/Blacklist/BlacklistController.php +++ b/app/Http/Controllers/Blacklist/BlacklistController.php @@ -117,7 +117,7 @@ class BlacklistController extends Controller //Delete the blacklist character BlacklistEntity::where([ - 'name' => $request->name, + 'entity_name' => $request->name, ])->delete(); //Return the view diff --git a/resources/views/blacklist/remove.blade.php b/resources/views/blacklist/remove.blade.php index b059bdaf8..3d311f248 100644 --- a/resources/views/blacklist/remove.blade.php +++ b/resources/views/blacklist/remove.blade.php @@ -3,7 +3,7 @@
{!! Form::open(['action' => 'Blacklist\BlacklistController@RemoveFromBlacklist', 'method' => 'POST']) !!}
- {{ Form::label('name', 'Character Name') }} + {{ Form::label('name', 'Entity Name') }} {{ Form::text('name', '', ['class' => 'form-control', 'placeholder' => 'CCP Antiquarian']) }}
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}